summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ntpshmmon.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ntpshmmon.c b/ntpshmmon.c
index aa89806b..f8768a35 100644
--- a/ntpshmmon.c
+++ b/ntpshmmon.c
@@ -4,6 +4,10 @@
* 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 <stdio.h>
#include <string.h> /* for memset() */
#include <stdlib.h>