diff options
author | Harald Welte <laforge@gnumonks.org> | 2019-01-26 17:39:19 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-01-26 17:39:19 +0100 |
commit | 407f7f9307043e102d2896cd85e8dbf4c9f8720e (patch) | |
tree | c11ee47119b5b30811fe018cb76459e67c5e1dd6 | |
parent | 066fc59ed0c9e57e778e02b37a3c8e9952eedf83 (diff) |
Fix compiler warning about deprecated _BSD_SOURCE
On (at least) Debian unstable I'm seeing the following compiler
warninig:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
Apparently this was deprecated in glibc 2.20 released in 2014 (!)
Change-Id: I826189dec4107e7c3e8cf4c013316ef3014b7857
-rw-r--r-- | src/osmo_client_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo_client_core.c b/src/osmo_client_core.c index 6414552..a56ebb4 100644 --- a/src/osmo_client_core.c +++ b/src/osmo_client_core.c @@ -20,7 +20,7 @@ * */ -#define _BSD_SOURCE +#define _DEFAULT_SOURCE #include <osmo-pcap/osmo_pcap_client.h> #include <osmo-pcap/common.h> |