Set BSD tuns to broadcast mode. On OpenBSD, this enables IPv6 on the tun device!
[oweals/tinc.git] / have.h
diff --git a/have.h b/have.h
index 0befb3a5e8ddcfec605c5526c59a234b7374b43a..45acb36183ca1f228c365616488f7754985d0860 100644 (file)
--- a/have.h
+++ b/have.h
 #include <net/if.h>
 #endif
 
+#ifdef HAVE_NET_IF_TYPES_H
+#include <net/if_types.h>
+#endif
+
 #ifdef HAVE_NET_IF_TUN_H
 #include <net/if_tun.h>
 #endif