Commit ee8482a5 authored by Lev Walkin's avatar Lev Walkin

avoid complaints about _BSD_SOURCE on ubuntu

parent a53bdf16
...@@ -12,6 +12,10 @@ ...@@ -12,6 +12,10 @@
#include "config.h" #include "config.h"
#endif #endif
#ifndef _DEFAULT_SOURCE
#define _DEFAULT_SOURCE 1
#endif
#ifndef _BSD_SOURCE #ifndef _BSD_SOURCE
#define _BSD_SOURCE /* for snprintf() on some linux systems */ #define _BSD_SOURCE /* for snprintf() on some linux systems */
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment