summaryrefslogtreecommitdiffstats
path: root/src/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c1
1 files changed, 1 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>