summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
Diffstat (limited to 'progs')
-rw-r--r--progs/capsh.c2
-rw-r--r--progs/getcap.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/progs/capsh.c b/progs/capsh.c
index b9f3665..94bf57d 100644
--- a/progs/capsh.c
+++ b/progs/capsh.c
@@ -9,7 +9,9 @@
* capability manipulations work as expected (or not).
*/
+#ifndef _DEFAULT_SOURCE
#define _DEFAULT_SOURCE
+#endif
#include <stdio.h>
#include <string.h>
diff --git a/progs/getcap.c b/progs/getcap.c
index 211bb31..225207f 100644
--- a/progs/getcap.c
+++ b/progs/getcap.c
@@ -4,6 +4,7 @@
* This displays the capabilities of a given file.
*/
+#undef _XOPEN_SOURCE
#define _XOPEN_SOURCE 500
#include <errno.h>