summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/device.c1
-rw-r--r--src/main.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/device.c b/src/device.c
index afb2d92..87a36cc 100644
--- a/src/device.c
+++ b/src/device.c
@@ -19,6 +19,7 @@
*/
#define _DEFAULT_SOURCE
+#define _BSD_SOURCE
#ifdef HAVE_CONFIG_H
#include <config.h>
diff --git a/src/main.c b/src/main.c
index 34aa1f4..aede710 100644
--- a/src/main.c
+++ b/src/main.c
@@ -21,6 +21,7 @@
*/
#define _DEFAULT_SOURCE
+#define _BSD_SOURCE
#define _GNU_SOURCE
#ifdef HAVE_CONFIG_H