projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'seehuhn/1.1' into 1.1
[tinc]
/
src
/
have.h
diff --git
a/src/have.h
b/src/have.h
index
85479f7
..
9dc3b04
100644
(file)
--- a/
src/have.h
+++ b/
src/have.h
@@
-40,6
+40,7
@@
#include <fcntl.h>
#include <unistd.h>
#include <limits.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>
@@
-197,6
+198,18
@@
#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 STATUS
+#undef STATUS
+#endif
+
#ifdef HAVE_MINGW
#define SLASH "\\"
#else
#ifdef HAVE_MINGW
#define SLASH "\\"
#else