From f6afde3c5dcece3b4980cebcde09a9ecca9e20d8 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sat, 23 Nov 2019 16:07:38 +0100 Subject: Move some unix header inclusions to compat.h In most cases, including unistd.h and fcntl.h was a left over anyway. In the cases where it was not, move it to compat.h. Signed-off-by: David Oberhollenzer --- include/compat.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/compat.h b/include/compat.h index 53c2e93..1a8f3a4 100644 --- a/include/compat.h +++ b/include/compat.h @@ -108,6 +108,8 @@ int fchmodat(int dirfd, const char *path, int mode, int flags); #else #include #include +#include +#include #ifdef __linux__ #include -- cgit v1.2.3