aboutsummaryrefslogtreecommitdiff
path: root/html.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-07-20 23:52:53 +0200
commitaf16aa6702ffb385a36504a459210e94704bbe2b (patch)
tree5921933f67aff7a9aefe1fecd494558d0d8d017c /html.c
parent327690ad9f5f8476405401bdb79d1f523567a8e0 (diff)
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 'html.c')
-rw-r--r--html.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/html.c b/html.c
index cad966b..41ce387 100644
--- a/html.c
+++ b/html.c
@@ -1,3 +1,5 @@
+#define _POSIX_C_SOURCE 200809L
+
#include "html.h"
#include <dynstr.h>
#include <errno.h>