- netinet/* include files depend on netinet/in_systm.h.
[tinc] / src / net.c
index 7ebbbd0..9ec15fe 100644 (file)
--- a/src/net.c
+++ b/src/net.c
@@ -17,7 +17,7 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id: net.c,v 1.35.4.172 2002/06/08 12:57:09 guus Exp $
+    $Id: net.c,v 1.35.4.173 2002/06/08 14:08:57 guus Exp $
 */
 
 #include "config.h"
@@ -26,6 +26,9 @@
 #include <fcntl.h>
 #include <netdb.h>
 #include <netinet/in.h>
+#ifdef HAVE_NETINET_IN_SYSTM_H
+ #include <netinet/in_systm.h>
+#endif
 #ifdef HAVE_NETINET_IP_H
  #include <netinet/ip.h>
 #endif