summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/delete.c2
-rw-r--r--src/core/keybindings.c2
-rw-r--r--src/core/main.c2
-rw-r--r--src/core/window-props.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/core/delete.c b/src/core/delete.c
index a93a2ac7..4d0c7cd2 100644
--- a/src/core/delete.c
+++ b/src/core/delete.c
@@ -23,7 +23,7 @@
*/
#define _GNU_SOURCE
-#define _SVID_SOURCE /* for gethostname() */
+#define _XOPEN_SOURCE /* for gethostname() and kill() */
#include <config.h>
#include "util.h"
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index 068199b8..271cf885 100644
--- a/src/core/keybindings.c
+++ b/src/core/keybindings.c
@@ -24,7 +24,7 @@
*/
#define _GNU_SOURCE
-#define _SVID_SOURCE /* for putenv() */
+#define _XOPEN_SOURCE /* for putenv() */
#include <config.h>
#include "keybindings.h"
diff --git a/src/core/main.c b/src/core/main.c
index b5ffccf1..31958d22 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -42,7 +42,7 @@
*/
#define _GNU_SOURCE
-#define _SVID_SOURCE /* for putenv() and some signal-related functions */
+#define _XOPEN_SOURCE /* for putenv() and some signal-related functions */
#include <config.h>
#include "main.h"
diff --git a/src/core/window-props.c b/src/core/window-props.c
index 8eff8d8a..c3200290 100644
--- a/src/core/window-props.c
+++ b/src/core/window-props.c
@@ -36,7 +36,7 @@
*/
#define _GNU_SOURCE
-#define _SVID_SOURCE /* for gethostname() */
+#define _XOPEN_SOURCE /* for gethostname() */
#include <config.h>
#include "window-props.h"