Move sys/mman.h into have.h
authorKirill Isakov <bootctl@gmail.com>
Sun, 20 Mar 2022 19:13:06 +0000 (01:13 +0600)
committerKirill Isakov <bootctl@gmail.com>
Mon, 21 Mar 2022 06:47:32 +0000 (12:47 +0600)
src/have.h
src/tincd.c

index 96e35fd..d1dd91d 100644 (file)
 #include <sys/file.h>
 #endif
 
+#ifdef HAVE_SYS_MMAN_H
+#include <sys/mman.h>
+#endif
+
 #ifdef HAVE_SYS_WAIT_H
 #include <sys/wait.h>
 #endif
index da3f03b..7c30a26 100644 (file)
 #define _P1003_1B_VISIBLE
 #endif
 
-#ifdef HAVE_SYS_MMAN_H
-#include <sys/mman.h>
-#endif
-
 #ifdef HAVE_LZO
 #include LZO1X_H
 #endif