diff options
author | Nikias Bassen | 2019-11-02 01:04:48 +0100 |
---|---|---|
committer | Nikias Bassen | 2019-11-02 01:04:48 +0100 |
commit | 24e06d5247c37a7712d85f032ed3ba74d7a039f8 (patch) | |
tree | 8909edfce1e89ca30e944caa47b1846ac08e291d | |
parent | 7a1110f5c13e7249062da952e1ac4de1b56d4a4e (diff) | |
download | usbmuxd-24e06d5247c37a7712d85f032ed3ba74d7a039f8.tar.gz usbmuxd-24e06d5247c37a7712d85f032ed3ba74d7a039f8.tar.bz2 |
Define _BSD_SOURCE again for older platforms.
While defining _BSD_SOURCE prints deprecation warnings, defining both
_DEFAULT_SOURCE and _BSD_SOURCE will not.
-rw-r--r-- | src/device.c | 1 | ||||
-rw-r--r-- | src/main.c | 1 |
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> @@ -21,6 +21,7 @@ */ #define _DEFAULT_SOURCE +#define _BSD_SOURCE #define _GNU_SOURCE #ifdef HAVE_CONFIG_H |