Commit d5ec1274 authored by Thomas Roessler's avatar Thomas Roessler

sys/ioctl.h vs. ioctl.h. From Sam Roberts.

parent 5773b234
......@@ -199,7 +199,7 @@ main ()
AC_HEADER_STDC
AC_CHECK_HEADERS(stdarg.h sys/ioctl.h sysexits.h)
AC_CHECK_HEADERS(stdarg.h sys/ioctl.h ioctl.h sysexits.h)
AC_CHECK_HEADERS(sys/time.h sys/resource.h)
AC_CHECK_HEADERS(unix.h)
......
......@@ -26,6 +26,10 @@
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
#else
# ifdef HAVE_IOCTL_H
# include <ioctl.h>
# endif
#endif
/* this routine should be called after receiving SIGWINCH */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment