diff options
author | Gary E. Miller <gem@rellim.com> | 2015-03-09 11:38:00 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2015-03-09 11:38:00 -0700 |
commit | fdad0191d356a69601e10c382833cbd703147a3a (patch) | |
tree | 859ef22224df87b8a449af898fbbeefc91939a03 /SConstruct | |
parent | b3de9cd98ac18f166d76a92f21bb7b9eabd93f54 (diff) | |
download | gpsd-fdad0191d356a69601e10c382833cbd703147a3a.tar.gz |
OS X, fix a duplicate defintion of clockid_t.
gpsd_config.h is sometimes double included. This hack was easier
then fixing the double include...
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -745,7 +745,9 @@ size_t strlcpy(/*@out@*/char *dst, /*@in@*/const char *src, size_t size); # ifdef __cplusplus extern "C" { # endif +#ifndef clockid_t typedef int clockid_t; +# endif /* OS X uses _STRUCT_TIMESPEC, but no clock_gettime */ #ifndef _STRUCT_TIMESPEC struct timespec { |