avoid complaints about _BSD_SOURCE on ubuntu

This commit is contained in:
Lev Walkin 2017-10-31 18:26:15 -07:00
parent a53bdf16a0
commit ee8482a55d
1 changed files with 4 additions and 0 deletions

View File

@ -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