about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/linux/daemon.c1
-rw-r--r--src/termios/cfmakeraw.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/linux/daemon.c b/src/linux/daemon.c
index afb8019f..1568b1dc 100644
--- a/src/linux/daemon.c
+++ b/src/linux/daemon.c
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
 #include <fcntl.h>
 #include <unistd.h>
 
diff --git a/src/termios/cfmakeraw.c b/src/termios/cfmakeraw.c
index a3daa09a..c9dddc12 100644
--- a/src/termios/cfmakeraw.c
+++ b/src/termios/cfmakeraw.c
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
 #include <termios.h>
 
 void cfmakeraw(struct termios *t)