diff options
| -rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 8a5ba7db3d1..947c2827b8e 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -7117,6 +7117,9 @@ AC_CACHE_CHECK([for usable FIONREAD], [emacs_cv_usable_FIONREAD], | |||
| 7117 | #ifdef USG5_4 | 7117 | #ifdef USG5_4 |
| 7118 | # include <sys/filio.h> | 7118 | # include <sys/filio.h> |
| 7119 | #endif | 7119 | #endif |
| 7120 | #ifdef HAVE_UNISTD_H | ||
| 7121 | # include <unistd.h> /* defines ioctl() on Solaris */ | ||
| 7122 | #endif | ||
| 7120 | ]], | 7123 | ]], |
| 7121 | [[int foo = ioctl (0, FIONREAD, &foo);]])], | 7124 | [[int foo = ioctl (0, FIONREAD, &foo);]])], |
| 7122 | [emacs_cv_usable_FIONREAD=yes], | 7125 | [emacs_cv_usable_FIONREAD=yes], |