diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-05-03 06:33:14 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-05-03 06:33:14 -0700 |
commit | fcd7b4e069e0b09cd3a3f7b91e285280f72b5637 (patch) | |
tree | 93efa28a645900e067301562f616c1d274481547 /sysif.c | |
parent | 244d706de560cad057d2853c2736a3008b0d8004 (diff) | |
download | txr-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |