From: Kirill Isakov Date: Sun, 20 Mar 2022 19:13:06 +0000 (+0600) Subject: Move sys/mman.h into have.h X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=b83f62e0a9b4ca58b47749eec43b34f0ea04cfbb;p=tinc Move sys/mman.h into have.h --- diff --git a/src/have.h b/src/have.h index 96e35fd7..d1dd91d7 100644 --- a/src/have.h +++ b/src/have.h @@ -83,6 +83,10 @@ #include #endif +#ifdef HAVE_SYS_MMAN_H +#include +#endif + #ifdef HAVE_SYS_WAIT_H #include #endif diff --git a/src/tincd.c b/src/tincd.c index da3f03b1..7c30a26f 100644 --- a/src/tincd.c +++ b/src/tincd.c @@ -29,10 +29,6 @@ #define _P1003_1B_VISIBLE #endif -#ifdef HAVE_SYS_MMAN_H -#include -#endif - #ifdef HAVE_LZO #include LZO1X_H #endif