From fcd7b4e069e0b09cd3a3f7b91e285280f72b5637 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 3 May 2017 06:33:14 -0700 Subject: HAVE_SYS_TYPES_H config variable. * configure (have_sys_types): New variable. Set to "y" in various tests which prove that the 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. --- sysif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysif.c') 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 #endif -#if HAVE_MAKEDEV +#if HAVE_SYS_TYPES_H #include #endif #if HAVE_POLL -- cgit v1.2.3