Use getmsg()/putmsg() instead of read()/write() on Solaris.
[oweals/tinc.git] / src / have.h
index bcd46127a5c49b00dbfc5ef4601db0fe48d4fc8f..396143d4b9ba3d2bed15ef84c7490513bc8a5607 100644 (file)
@@ -1,7 +1,7 @@
 /*
     have.h -- include headers which are known to exist
     Copyright (C) 1998-2005 Ivo Timmermans
-                  2003-2014 Guus Sliepen <guus@tinc-vpn.org>
+                  2003-2015 Guus Sliepen <guus@tinc-vpn.org>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
 #include <netinet/if_ether.h>
 #endif
 
+#ifdef HAVE_ARPA_NAMESER_H
+#include <arpa/nameser.h>
+#ifdef STATUS
+#undef STATUS
+#endif
+#endif
+
+#ifdef HAVE_RESOLV_H
+#include <resolv.h>
+#endif
+
+#ifdef HAVE_LINUX_IF_TUN_H
+#include <linux/if_tun.h>
+#endif
+
 #endif /* __TINC_SYSTEM_H__ */