mirror of https://gerrit.osmocom.org/asn1c
avoid complaints about _BSD_SOURCE on ubuntu
This commit is contained in:
parent
a53bdf16a0
commit
ee8482a55d
|
@ -12,6 +12,10 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#ifndef _DEFAULT_SOURCE
|
||||
#define _DEFAULT_SOURCE 1
|
||||
#endif
|
||||
|
||||
#ifndef _BSD_SOURCE
|
||||
#define _BSD_SOURCE /* for snprintf() on some linux systems */
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue