diff --git a/skeletons/INTEGER.c b/skeletons/INTEGER.c index a839b32b..eed82176 100644 --- a/skeletons/INTEGER.c +++ b/skeletons/INTEGER.c @@ -3,10 +3,6 @@ * All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef _BSD_SOURCE -#define _BSD_SOURCE /* for snprintf() on some linux systems */ -#endif -#include #include #include #include /* Encoder and decoder of a primitive type */ diff --git a/skeletons/asn_system.h b/skeletons/asn_system.h index 24d8da79..d19837ed 100644 --- a/skeletons/asn_system.h +++ b/skeletons/asn_system.h @@ -13,6 +13,10 @@ #include "config.h" #endif +#ifndef _BSD_SOURCE +#define _BSD_SOURCE /* for snprintf() on some linux systems */ +#endif + #include /* For snprintf(3) */ #include /* For *alloc(3) */ #include /* For memcpy(3) */