From 9f11a2d32293eea034e4de4579747f6523e4f43f Mon Sep 17 00:00:00 2001 From: Stéphane Raimbault Date: Sun, 16 Mar 2008 16:38:31 +0100 Subject: [PATCH] Use termios.h instead termio.h (like on OSX) --- configure.ac | 2 +- modbus/modbus.c | 2 +- wscript | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index f3d0191..41d8c78 100644 --- a/configure.ac +++ b/configure.ac @@ -12,7 +12,7 @@ AC_PROG_LIBTOOL # Checks for header files. AC_HEADER_STDC -AC_CHECK_HEADERS([arpa/inet.h fcntl.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h termio.h termios.h unistd.h]) +AC_CHECK_HEADERS([arpa/inet.h fcntl.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h termios.h unistd.h]) # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST diff --git a/modbus/modbus.c b/modbus/modbus.c index 00bb0f8..cc5e717 100644 --- a/modbus/modbus.c +++ b/modbus/modbus.c @@ -33,7 +33,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/wscript b/wscript index 2c5698c..b5faa4c 100644 --- a/wscript +++ b/wscript @@ -18,7 +18,7 @@ def configure(conf): headers = 'arpa/inet.h fcntl.h netinet/in.h stdlib.h \ string.h sys/ioctl.h sys/socket.h sys/time.h \ - termio.h termios.h unistd.h' + termios.h unistd.h' # check for headers and append found headers to headers_found for later use headers_found = [] -- libgit2 0.21.4