Browse Source

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

master
Dirk Engling 4 weeks ago
parent
commit
e8d385f176
  1. 2
      ot_http.c

2
ot_http.c

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

Loading…
Cancel
Save