projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix musl compatibility
[tinc]
/
src
/
have.h
diff --git
a/src/have.h
b/src/have.h
index
3ada63a
..
88733a1
100644
(file)
--- a/
src/have.h
+++ b/
src/have.h
@@
-39,6
+39,8
@@
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
+#include <limits.h>
+#include <math.h>
#ifdef HAVE_MINGW
#include <w32api.h>
#ifdef HAVE_MINGW
#include <w32api.h>
@@
-196,6
+198,22
@@
#include <netinet/if_ether.h>
#endif
#include <netinet/if_ether.h>
#endif
+#ifdef HAVE_ARPA_NAMESER_H
+#include <arpa/nameser.h>
+#endif
+
+#ifdef HAVE_RESOLV_H
+#include <resolv.h>
+#endif
+
+#ifdef HAVE_LINUX_IF_TUN_H
+#include <linux/if_tun.h>
+#endif
+
+#ifdef STATUS
+#undef STATUS
+#endif
+
#ifdef HAVE_MINGW
#define SLASH "\\"
#else
#ifdef HAVE_MINGW
#define SLASH "\\"
#else