We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bef1a81 commit eba2ab5Copy full SHA for eba2ab5
src/client.c
@@ -1,4 +1,8 @@
1
+// feature test macro for getline() from man pages
2
+#define _POSIX_C_SOURCE 200809L
3
+
4
#include <netdb.h>
5
+#include <signal.h>
6
#include <stdbool.h>
7
#include <stdio.h>
8
#include <stdlib.h>
src/server.c
@@ -1,3 +1,6 @@
+// feature test macro for getaddrinfo() from man pages
+#define _POSIX_C_SOURCE 200112L
#include <netdb.h> // for getaddrinfo()
#include <poll.h> // for poll()
#include <signal.h> // for signal()
0 commit comments