diff options
author | Gary E. Miller <gem@rellim.com> | 2016-08-15 19:56:08 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2016-08-15 19:56:08 -0700 |
commit | aca3818fad3843ae89d3199d82f7bd6dbce41330 (patch) | |
tree | bdd5a98523c3297df6fc5ef20ede4d1c69a244b1 /shmexport.c | |
parent | 9a4bd3589c123def01a3adeb1ed9d3a99bd12316 (diff) | |
download | gpsd-aca3818fad3843ae89d3199d82f7bd6dbce41330.tar.gz |
sys/ipc.h needs XOPEN_SOURCE 500
XOPEN_SOURCE 500 means X/Open 1995. Seems saef enough.
Diffstat (limited to 'shmexport.c')
-rw-r--r-- | shmexport.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shmexport.c b/shmexport.c index 2a0e4166..cef94d77 100644 --- a/shmexport.c +++ b/shmexport.c @@ -14,6 +14,10 @@ PERMISSIONS BSD terms apply: see the file COPYING in the distribution root for details. ***************************************************************************/ + +/* sys/ipc.h needs _XOPEN_SOURCE, 500 means X/Open 1995 */ +#define _XOPEN_SOURCE 500 + #include <time.h> /* for time_t */ #include "gpsd_config.h" |