build: guard _GNU_SOURCE define if build system defines it

pull/22/head
osy 2021-01-02 18:32:54 -08:00
parent 6b64f2d66c
commit 171869b844
10 changed files with 20 additions and 0 deletions

View File

@ -10,7 +10,9 @@
* from the use of this software.
*/
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <stddef.h>
#include <stdarg.h>
#include <string.h>

View File

@ -10,7 +10,9 @@
* from the use of this software.
*/
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <stddef.h>
#include <stdarg.h>
#include <string.h>

View File

@ -10,7 +10,9 @@
* from the use of this software.
*/
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <stddef.h>
#include <stdarg.h>
#include <string.h>

View File

@ -11,7 +11,9 @@
* from the use of this software.
*/
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <stdarg.h>
#include <stdint.h>

View File

@ -11,7 +11,9 @@
* from the use of this software.
*/
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <stdarg.h>
#include <stdint.h>

View File

@ -10,7 +10,9 @@
* from the use of this software.
*/
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <stddef.h>
#include <stdarg.h>
#include <string.h>

View File

@ -10,7 +10,9 @@
* from the use of this software.
*/
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <stddef.h>
#include <stdarg.h>
#include <string.h>

View File

@ -10,7 +10,9 @@
* from the use of this software.
*/
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <stddef.h>
#include <stdarg.h>
#include <string.h>

View File

@ -11,7 +11,9 @@
* from the use of this software.
*/
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <stddef.h>
#include <stdarg.h>
#include <string.h>

View File

@ -10,7 +10,9 @@
* from the use of this software.
*/
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <stddef.h>
#include <stdarg.h>
#include <string.h>