Commit 7411724b authored by Erik de Castro Lopo's avatar Erik de Castro Lopo
Browse files

Fix ioctl/TIOCGWINSZ for OSX

parent 3ff49e60
...@@ -62,9 +62,7 @@ AC_C_INLINE ...@@ -62,9 +62,7 @@ AC_C_INLINE
AC_C_VARARRAYS AC_C_VARARRAYS
AC_C_TYPEOF AC_C_TYPEOF
AC_CHECK_HEADERS([stdint.h inttypes.h byteswap.h sys/param.h termios.h x86intrin.h cpuid.h]) AC_CHECK_HEADERS([stdint.h inttypes.h byteswap.h sys/param.h sys/ioctl.h termios.h x86intrin.h cpuid.h])
AC_HEADER_TIOCGWINSZ
XIPH_C_BSWAP32 XIPH_C_BSWAP32
XIPH_C_BSWAP16 XIPH_C_BSWAP16
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#ifdef HAVE_TERMIOS_H #ifdef HAVE_TERMIOS_H
# include <termios.h> # include <termios.h>
#endif #endif
#ifdef GWINSZ_IN_SYS_IOCTL #ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h> # include <sys/ioctl.h>
#endif #endif
#endif #endif
......
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