From ee8482a55de40f8728f0f7bf25069bc2c509ced9 Mon Sep 17 00:00:00 2001 From: Lev Walkin Date: Tue, 31 Oct 2017 18:26:15 -0700 Subject: [PATCH] avoid complaints about _BSD_SOURCE on ubuntu --- skeletons/asn_system.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/skeletons/asn_system.h b/skeletons/asn_system.h index ce46242c..fa8cf116 100644 --- a/skeletons/asn_system.h +++ b/skeletons/asn_system.h @@ -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