1
0
mirror of git://erdgeist.org/opentracker synced 2025-01-25 22:26:25 +00:00

Move _GNU_SOURCE declaration further to the top, so recursive inclusion of stdio does not ignore the macro

This commit is contained in:
Dirk Engling 2024-04-21 14:58:42 +02:00
parent 492da4a57e
commit e8d385f176

View File

@ -4,9 +4,9 @@
$id$ */ $id$ */
/* System */ /* System */
#define _GNU_SOURCE
#include <arpa/inet.h> #include <arpa/inet.h>
#include <pthread.h> #include <pthread.h>
#define _GNU_SOURCE
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>