projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01dc783
)
Move sys/mman.h into have.h
author
Kirill Isakov
<bootctl@gmail.com>
Sun, 20 Mar 2022 19:13:06 +0000
(
01:13
+0600)
committer
Kirill Isakov
<bootctl@gmail.com>
Mon, 21 Mar 2022 06:47:32 +0000
(12:47 +0600)
src/have.h
patch
|
blob
|
history
src/tincd.c
patch
|
blob
|
history
diff --git
a/src/have.h
b/src/have.h
index
96e35fd
..
d1dd91d
100644
(file)
--- a/
src/have.h
+++ b/
src/have.h
@@
-83,6
+83,10
@@
#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
diff --git
a/src/tincd.c
b/src/tincd.c
index
da3f03b
..
7c30a26
100644
(file)
--- a/
src/tincd.c
+++ b/
src/tincd.c
@@
-29,10
+29,6
@@
#define _P1003_1B_VISIBLE
#endif
-#ifdef HAVE_SYS_MMAN_H
-#include <sys/mman.h>
-#endif
-
#ifdef HAVE_LZO
#include LZO1X_H
#endif