diff options
author | Gary E. Miller <gem@rellim.com> | 2016-08-15 21:28:35 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2016-08-15 21:28:35 -0700 |
commit | 558586bc99a8f57ee42f0597f52232cd1ee8900b (patch) | |
tree | 8819259a94abab70ebf6fa40ea97e77388b0cd82 /timebase.c | |
parent | 2a72002fa58217fbd0b61d861fba5ef29e575213 (diff) | |
download | gpsd-558586bc99a8f57ee42f0597f52232cd1ee8900b.tar.gz |
putenv() needs _XOPEN_SOURCE
Diffstat (limited to 'timebase.c')
-rw-r--r-- | timebase.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -190,6 +190,9 @@ BSD terms apply: see the file COPYING in the distribution root for details. *****************************************************************************/ +/* putenv() needs _XOPEN_SOURCE, 500 means X/Open 1995 */ +#define _XOPEN_SOURCE 500 + #include <stdlib.h> #include <string.h> #include <ctype.h> |