Summary: | arts' configure misdetects ioctl() prototype on Solaris (compilation fails) | ||
---|---|---|---|
Product: | [Unmaintained] configure | Reporter: | Torsten Kasch <tk> |
Component: | general | Assignee: | Stephan Kulow <coolo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Solaris | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | patch for arts/configure.in.in |
Description
Torsten Kasch
2004-01-10 15:04:06 UTC
Created attachment 4082 [details] patch for arts/configure.in.in The attached patch fixes this issue for me by adding an "#include <unistd.h>" to the autoconf test. I have a bad feeling about adding this unconditionally but #ifdef HAVE_UNISTD_H doesn't seem to be an option in this place... Please note that this patch also contains the fix for bug 68382. Subject: arts CVS commit by coolo: including unistd.h is fine - we do it everywhere else too :) CCMAIL: 72311-done@bugs.kde.org M +3 -0 configure.in.in 1.97 --- arts/configure.in.in #1.96:1.97 @@ -347,4 +347,5 @@ AC_TRY_COMPILE( [ + #include <unistd.h> #include <sys/ioctl.h> int ioctl(int d, int request,...); @@ -355,4 +356,5 @@ AC_TRY_COMPILE( [ + #include <unistd.h> #include <sys/ioctl.h> int ioctl(int d, unsigned long request,...); @@ -363,4 +365,5 @@ AC_TRY_COMPILE( [ + #include <unistd.h> #include <sys/ioctl.h> int ioctl(int d, unsigned long int request,...); |