diff options
-rw-r--r-- | SConstruct | 12 | ||||
-rw-r--r-- | gpspipe.c | 2 | ||||
-rw-r--r-- | libgps_sock.c | 2 |
3 files changed, 10 insertions, 6 deletions
@@ -860,8 +860,16 @@ else: "RTCM V2 support disabled.") env["rtcm104v2"] = False - for hdr in ("sys/un", "sys/socket", "sys/select", "netdb", "netinet/in", - "netinet/ip", "arpa/inet", "syslog", "termios", "winsock2"): + for hdr in ("arpa/inet", + "netdb", + "netinet/in", + "netinet/ip", + "sys/socket", + "sys/un", + "syslog", + "termios", + "winsock2" + ): if config.CheckHeader(hdr + ".h"): confdefs.append("#define HAVE_%s_H 1\n" % hdr.replace("/", "_").upper()) @@ -49,9 +49,7 @@ #include <sys/time.h> #include <sys/types.h> #include <sys/stat.h> -#ifdef HAVE_SYS_SELECT_H #include <sys/select.h> -#endif /* HAVE_SYS_SELECT_H */ #ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> #endif /* HAVE_SYS_SOCKET_H */ diff --git a/libgps_sock.c b/libgps_sock.c index 7816014d..14811b68 100644 --- a/libgps_sock.c +++ b/libgps_sock.c @@ -17,9 +17,7 @@ #include <sys/stat.h> #include "gpsd_config.h" #include "timespec.h" /* for NS_IN_SEC */ -#ifdef HAVE_SYS_SELECT_H #include <sys/select.h> -#endif /* HAVE_SYS_SELECT_H */ #include <unistd.h> #ifndef USE_QT |