summaryrefslogtreecommitdiff
path: root/peripheral/attach.c
diff options
context:
space:
mode:
Diffstat (limited to 'peripheral/attach.c')
-rw-r--r--peripheral/attach.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/peripheral/attach.c b/peripheral/attach.c
index a70ca55c7..1de02ac04 100644
--- a/peripheral/attach.c
+++ b/peripheral/attach.c
@@ -25,6 +25,7 @@
#include <config.h>
#endif
+#define _GNU_SOURCE
#include <fcntl.h>
#include <unistd.h>
#include <sys/ioctl.h>