summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2024-04-15 16:44:07 +0200
committerDirk Engling <erdgeist@erdgeist.org>2024-04-15 16:44:07 +0200
commita6c47663482479fbad3153a7a9d4dc9f07e11688 (patch)
tree6a8fdd7a3d606c0f6afe623f15eb3903dcf71774
parenta4161f911f880f22e101fb2e4cffd8c35cded008 (diff)
define _GNU_SOURCE to silence warning about asprintf
-rw-r--r--ot_http.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ot_http.c b/ot_http.c
index df3a1ae..d825426 100644
--- a/ot_http.c
+++ b/ot_http.c
@@ -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>