summaryrefslogtreecommitdiff
path: root/libgps_shm.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgps_shm.c')
-rw-r--r--libgps_shm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgps_shm.c b/libgps_shm.c
index 75aba8aa..d8e11f75 100644
--- a/libgps_shm.c
+++ b/libgps_shm.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 mean X/Open 1995 */
+#define _XOPEN_SOURCE 500
+
#include <time.h> /* for time_t */
#include "gpsd_config.h"