[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-dev] [PATCH] Include sys/types.h when checking for sys/timepps.h.
From: |
Greg Troxel |
Subject: |
[gpsd-dev] [PATCH] Include sys/types.h when checking for sys/timepps.h. |
Date: |
Wed, 14 Jan 2015 20:11:35 -0500 |
At least on FreeBSD, one needs sys/types.h. This seems to be a
header present on all systems that has sys/timepps.h, so I don't see a
reason to conditionalize this.
>From Daniel O'Connor via address@hidden
---
SConstruct | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/SConstruct b/SConstruct
index beac803..ea425f8 100644
--- a/SConstruct
+++ b/SConstruct
@@ -698,7 +698,7 @@ else:
else:
confdefs.append("#define COMPAT_SELECT\n")
- if config.CheckHeader(["sys/time.h", "sys/timepps.h"]):
+ if config.CheckHeader(["sys/types.h", "sys/time.h", "sys/timepps.h"]):
confdefs.append("#define HAVE_SYS_TIMEPPS_H 1\n")
kpps = True
else:
--
2.2.1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gpsd-dev] [PATCH] Include sys/types.h when checking for sys/timepps.h.,
Greg Troxel <=