aboutsummaryrefslogtreecommitdiffstats
path: root/src/tipideed
diff options
context:
space:
mode:
Diffstat (limited to 'src/tipideed')
-rw-r--r--src/tipideed/harden.c3
-rw-r--r--src/tipideed/send_file.c1
2 files changed, 3 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>
diff --git a/src/tipideed/send_file.c b/src/tipideed/send_file.c
index 2ee122a..23a0373 100644
--- a/src/tipideed/send_file.c
+++ b/src/tipideed/send_file.c
@@ -87,6 +87,7 @@ void send_file (int fd, uint64_t n, char const *fn)
#include <skalibs/buffer.h>
#include <skalibs/strerr.h>
#include <skalibs/tai.h>
+#include <skalibs/unix-timed.h>
#include "tipideed-internal.h"