mirror of https://gerrit.osmocom.org/osmo-pcap
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
This commit is contained in:
parent
066fc59ed0
commit
407f7f9307
|
@ -20,7 +20,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define _BSD_SOURCE
|
#define _DEFAULT_SOURCE
|
||||||
#include <osmo-pcap/osmo_pcap_client.h>
|
#include <osmo-pcap/osmo_pcap_client.h>
|
||||||
#include <osmo-pcap/common.h>
|
#include <osmo-pcap/common.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue