summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-12-27 13:43:24 -0800
committerGary E. Miller <gem@rellim.com>2018-12-27 13:43:24 -0800
commit05980e8a0ea9f741f183a7153e1e7ce6349c1960 (patch)
tree547b378fc32d8ce8c9aec945a5cf4cb3f9ccee26 /SConstruct
parente78d969bba817247dab11db9f366ac4ae4e5ac37 (diff)
downloadgpsd-05980e8a0ea9f741f183a7153e1e7ce6349c1960.tar.gz
HAVE_SYS_SELECT_H: Remove test for this. No longer needed.
Many places in the code include sys/select.h with no guard for a long time and no problem reports. So kill it off.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct12
1 files changed, 10 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 9a1eb799..953ddbff 100644
--- a/SConstruct
+++ b/SConstruct
@@ -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())