diff options
| author | Dirk Engling <erdgeist@erdgeist.org> | 2024-04-21 14:58:42 +0200 |
|---|---|---|
| committer | Dirk Engling <erdgeist@erdgeist.org> | 2024-04-21 14:58:42 +0200 |
| commit | e8d385f17607bbe86204251062039690dfc3979a (patch) | |
| tree | 53d7c4fe42b7e7ab2bbe3e851f584816fd360030 | |
| parent | 492da4a57e3ceac30709a9f932a3552eef2d2898 (diff) | |
Move _GNU_SOURCE declaration further to the top, so recursive inclusion of stdio does not ignore the macro
| -rw-r--r-- | ot_http.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -4,9 +4,9 @@ | |||
| 4 | $id$ */ | 4 | $id$ */ |
| 5 | 5 | ||
| 6 | /* System */ | 6 | /* System */ |
| 7 | #define _GNU_SOURCE | ||
| 7 | #include <arpa/inet.h> | 8 | #include <arpa/inet.h> |
| 8 | #include <pthread.h> | 9 | #include <pthread.h> |
| 9 | #define _GNU_SOURCE | ||
| 10 | #include <stdio.h> | 10 | #include <stdio.h> |
| 11 | #include <stdlib.h> | 11 | #include <stdlib.h> |
| 12 | #include <string.h> | 12 | #include <string.h> |
