about summary refs log tree commit diff
path: root/src/linux/sethostname.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/sethostname.c')
-rw-r--r--src/linux/sethostname.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/linux/sethostname.c b/src/linux/sethostname.c
index 79a87078..9313b324 100644
--- a/src/linux/sethostname.c
+++ b/src/linux/sethostname.c
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
 #include <unistd.h>
 #include "syscall.h"