diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2024-04-15 16:44:07 +0200 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2024-04-15 16:44:07 +0200 |
commit | a6c47663482479fbad3153a7a9d4dc9f07e11688 (patch) | |
tree | 6a8fdd7a3d606c0f6afe623f15eb3903dcf71774 | |
parent | a4161f911f880f22e101fb2e4cffd8c35cded008 (diff) |
define _GNU_SOURCE to silence warning about asprintf
-rw-r--r-- | ot_http.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -6,6 +6,7 @@ | |||
6 | /* System */ | 6 | /* System */ |
7 | #include <arpa/inet.h> | 7 | #include <arpa/inet.h> |
8 | #include <pthread.h> | 8 | #include <pthread.h> |
9 | #define _GNU_SOURCE | ||
9 | #include <stdio.h> | 10 | #include <stdio.h> |
10 | #include <stdlib.h> | 11 | #include <stdlib.h> |
11 | #include <string.h> | 12 | #include <string.h> |