summaryrefslogtreecommitdiff
path: root/shmexport.c
diff options
context:
space:
mode:
Diffstat (limited to 'shmexport.c')
-rw-r--r--shmexport.c4
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"