Commit 9f11a2d32293eea034e4de4579747f6523e4f43f
1 parent
8f51424e
Use termios.h instead termio.h (like on OSX)
Showing
3 changed files
with
3 additions
and
3 deletions
configure.ac
| ... | ... | @@ -12,7 +12,7 @@ AC_PROG_LIBTOOL |
| 12 | 12 | |
| 13 | 13 | # Checks for header files. |
| 14 | 14 | AC_HEADER_STDC |
| 15 | -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]) | |
| 15 | +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]) | |
| 16 | 16 | |
| 17 | 17 | # Checks for typedefs, structures, and compiler characteristics. |
| 18 | 18 | AC_C_CONST | ... | ... |
modbus/modbus.c
wscript
| ... | ... | @@ -18,7 +18,7 @@ def configure(conf): |
| 18 | 18 | |
| 19 | 19 | headers = 'arpa/inet.h fcntl.h netinet/in.h stdlib.h \ |
| 20 | 20 | string.h sys/ioctl.h sys/socket.h sys/time.h \ |
| 21 | - termio.h termios.h unistd.h' | |
| 21 | + termios.h unistd.h' | |
| 22 | 22 | |
| 23 | 23 | # check for headers and append found headers to headers_found for later use |
| 24 | 24 | headers_found = [] | ... | ... |