]> tinc-vpn.org Git - tinc/commitdiff
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 96e35fd75fb5818bc92c1b5b61b4dd6431d53f88..d1dd91d7faf19f7729c5246bba98d233c761d00c 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 da3f03b1e56b6b6caf4602115155857244315e76..7c30a26f16d40e33a75eba32a02302e97bd5b564 100644 (file)
 #define _P1003_1B_VISIBLE
 #endif
 
-#ifdef HAVE_SYS_MMAN_H
-#include <sys/mman.h>
-#endif
-
 #ifdef HAVE_LZO
 #include LZO1X_H
 #endif