From aca3818fad3843ae89d3199d82f7bd6dbce41330 Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Mon, 15 Aug 2016 19:56:08 -0700 Subject: sys/ipc.h needs XOPEN_SOURCE 500 XOPEN_SOURCE 500 means X/Open 1995. Seems saef enough. --- shmexport.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'shmexport.c') 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 /* for time_t */ #include "gpsd_config.h" -- cgit v1.2.1