summaryrefslogtreecommitdiff
path: root/src/common/sandbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/sandbox.h')
-rw-r--r--src/common/sandbox.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/sandbox.h b/src/common/sandbox.h
index 36d25d6516..21d517fe51 100644
--- a/src/common/sandbox.h
+++ b/src/common/sandbox.h
@@ -42,6 +42,9 @@ typedef struct sandbox_cfg_elem sandbox_cfg_t;
#ifndef __USE_GNU
#define __USE_GNU
#endif
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE
+#endif
#include <sys/ucontext.h>
#include <seccomp.h>
#include <netdb.h>