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