From 24e06d5247c37a7712d85f032ed3ba74d7a039f8 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sat, 2 Nov 2019 01:04:48 +0100 Subject: Define _BSD_SOURCE again for older platforms. While defining _BSD_SOURCE prints deprecation warnings, defining both _DEFAULT_SOURCE and _BSD_SOURCE will not. --- src/device.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/device.c') 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 -- cgit v1.1-32-gdbae