aboutsummaryrefslogtreecommitdiffstats
path: root/src/tipideed/harden.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-09-21 08:27:16 +0000
committerLaurent Bercot <ska@appnovation.com>2023-09-21 08:27:16 +0000
commit895c822c40a842fe021462a373542fe52ae93a86 (patch)
treeb34a8db4e80e00c644eaa424c87f9ea4b42b69c7 /src/tipideed/harden.c
parentd91a79d86ffb544d49f5f04ca49e5d980188934d (diff)
downloadtipidee-895c822c40a842fe021462a373542fe52ae93a86.tar.gz
Some portability fixes
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/tipideed/harden.c')
-rw-r--r--src/tipideed/harden.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tipideed/harden.c b/src/tipideed/harden.c
index 516eefb..46db2f5 100644
--- a/src/tipideed/harden.c
+++ b/src/tipideed/harden.c
@@ -1,7 +1,8 @@
/* ISC license. */
+#undef _POSIX_C_SOURCE
+#undef _XOPEN_SOURCE
#include <skalibs/sysdeps.h>
-#include <skalibs/nonposix.h>
#include <unistd.h>
#include <errno.h>