diff options
-rw-r--r-- | src/core/delete.c | 2 | ||||
-rw-r--r-- | src/core/keybindings.c | 2 | ||||
-rw-r--r-- | src/core/main.c | 2 | ||||
-rw-r--r-- | src/core/window-props.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/core/delete.c b/src/core/delete.c index d9a60ab0..efc73735 100644 --- a/src/core/delete.c +++ b/src/core/delete.c @@ -21,7 +21,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 91a5e101..da3b2ac4 100644 --- a/src/core/keybindings.c +++ b/src/core/keybindings.c @@ -22,7 +22,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 85ec4245..2e250177 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -40,7 +40,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 54d3ed21..2387e634 100644 --- a/src/core/window-props.c +++ b/src/core/window-props.c @@ -34,7 +34,7 @@ */ #define _GNU_SOURCE -#define _SVID_SOURCE /* for gethostname() */ +#define _XOPEN_SOURCE /* for gethostname() */ #include <config.h> #include "window-props.h" |