aboutsummaryrefslogtreecommitdiff
path: root/handler.c
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-03-24 02:47:11 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-03-24 02:49:11 +0100
commitb3ef22ac2ae126951c5b74003c7b17189c0ecbbb (patch)
tree7f4ee19ad49b16273a23f2fc7da960c0cef35521 /handler.c
parent4501c66ebde5c4fc86eda193fe204d5b35e85652 (diff)
downloadslcl-b3ef22ac2ae126951c5b74003c7b17189c0ecbbb.tar.gz
Define _POSIX_C_SOURCE
This allows using the default compiler defined by make(1) (i.e., c99(1)), thus improving POSIX compatibility.
Diffstat (limited to 'handler.c')
-rw-r--r--handler.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/handler.c b/handler.c
index 22699f5..73ac9ab 100644
--- a/handler.c
+++ b/handler.c
@@ -1,3 +1,5 @@
+#define _POSIX_C_SOURCE 200809L
+
#include "handler.h"
#include "http.h"
#include "server.h"