summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/instance.c2
-rw-r--r--src/node.c2
-rw-r--r--src/plugin.c2
-rw-r--r--src/pluginclass.c2
-rw-r--r--src/port.c2
-rw-r--r--src/query.c2
-rw-r--r--src/ui.c2
-rw-r--r--src/util.c2
-rw-r--r--src/world.c2
9 files changed, 1 insertions, 17 deletions
diff --git a/src/instance.c b/src/instance.c
index b12a7d3..e9d4591 100644
--- a/src/instance.c
+++ b/src/instance.c
@@ -14,8 +14,6 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#define _XOPEN_SOURCE 500
-
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/node.c b/src/node.c
index ccccf88..dc018c8 100644
--- a/src/node.c
+++ b/src/node.c
@@ -14,8 +14,6 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#define _XOPEN_SOURCE 500
-
#include <assert.h>
#include <locale.h>
#include <stdlib.h>
diff --git a/src/plugin.c b/src/plugin.c
index 2a945f4..a5ca1a7 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -14,8 +14,6 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#define _XOPEN_SOURCE 500
-
#include <assert.h>
#include <math.h>
#include <stdarg.h>
diff --git a/src/pluginclass.c b/src/pluginclass.c
index 0764576..19ba227 100644
--- a/src/pluginclass.c
+++ b/src/pluginclass.c
@@ -14,8 +14,6 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#define _XOPEN_SOURCE 500
-
#include <assert.h>
#include <stdlib.h>
#include <string.h>
diff --git a/src/port.c b/src/port.c
index c143b31..1a8ffaf 100644
--- a/src/port.c
+++ b/src/port.c
@@ -14,8 +14,6 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#define _XOPEN_SOURCE 500
-
#include <assert.h>
#include <limits.h>
#include <stdio.h>
diff --git a/src/query.c b/src/query.c
index d37527f..e465a67 100644
--- a/src/query.c
+++ b/src/query.c
@@ -14,8 +14,6 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#define _XOPEN_SOURCE 500
-
#include <assert.h>
#include <limits.h>
#include <stdlib.h>
diff --git a/src/ui.c b/src/ui.c
index 02563c4..824ed15 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -14,8 +14,6 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#define _XOPEN_SOURCE 500
-
#include <assert.h>
#include <stdlib.h>
#include <string.h>
diff --git a/src/util.c b/src/util.c
index 91a9f33..0af0e1a 100644
--- a/src/util.c
+++ b/src/util.c
@@ -14,8 +14,6 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#define _XOPEN_SOURCE 500
-
#include <assert.h>
#include <stdarg.h>
#include <stdlib.h>
diff --git a/src/world.c b/src/world.c
index 1efe368..9d74c6b 100644
--- a/src/world.c
+++ b/src/world.c
@@ -14,7 +14,7 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#define _XOPEN_SOURCE 500
+#define _POSIX_SOURCE 1
#include <assert.h>
#include <errno.h>