Browse Source

define _GNU_SOURCE to silence warning about asprintf

master
Dirk Engling 2 months ago
parent
commit
a6c4766348
  1. 1
      ot_http.c

1
ot_http.c

@ -6,6 +6,7 @@
/* System */ /* System */
#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>

Loading…
Cancel
Save