summaryrefslogtreecommitdiffstats
path: root/sysif.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-05-03 06:33:14 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-05-03 06:33:14 -0700
commitfcd7b4e069e0b09cd3a3f7b91e285280f72b5637 (patch)
tree93efa28a645900e067301562f616c1d274481547 /sysif.c
parent244d706de560cad057d2853c2736a3008b0d8004 (diff)
downloadtxr-fcd7b4e069e0b09cd3a3f7b91e285280f72b5637.tar.gz
txr-fcd7b4e069e0b09cd3a3f7b91e285280f72b5637.tar.bz2
txr-fcd7b4e069e0b09cd3a3f7b91e285280f72b5637.zip
HAVE_SYS_TYPES_H config variable.
* configure (have_sys_types): New variable. Set to "y" in various tests which prove that the <sys/types.h> header is available. (HAVE_SYS_TYPES_H): Add to config.h in the dependent variale generation section, if have_sys_types is true. * sysif.c: Use HAVE_SYS_TYPES_H instead of relying on HAVE_MAKEDEV.
Diffstat (limited to 'sysif.c')
-rw-r--r--sysif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysif.c b/sysif.c
index f9068bbf..96a8a504 100644
--- a/sysif.c
+++ b/sysif.c
@@ -50,7 +50,7 @@
#if HAVE_WINDOWS_H
#include <windows.h>
#endif
-#if HAVE_MAKEDEV
+#if HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#if HAVE_POLL