]> git.sesse.net Git - vlc/commitdiff
BeOS doesn't know about PF_INET
authorEric Petit <titer@videolan.org>
Thu, 22 Jul 2004 14:21:59 +0000 (14:21 +0000)
committerEric Petit <titer@videolan.org>
Thu, 22 Jul 2004 14:21:59 +0000 (14:21 +0000)
modules/misc/network/ipv4.c
src/misc/httpd.c

index 03e4e4d8c6184c0d56d6659dcdd2c94cbe594d46..74ed39c0b11dc7546e28d2fd832b8a0f843b7a2a 100644 (file)
@@ -73,6 +73,9 @@
 #ifndef IN_MULTICAST
 #   define IN_MULTICAST(a) IN_CLASSD(a)
 #endif
+#ifndef PF_INET
+#    define PF_INET AF_INET                                          /* BeOS */
+#endif
 
 
 /*****************************************************************************
index 9ccc76f023bbbbaf030cd0c9dd3346ffcca17854..ebc969e5bf8f9e82897f7af0a2c4b77fbd92c56b 100644 (file)
 static const struct in6_addr in6addr_any = {{IN6ADDR_ANY_INIT}};
 #endif
 
+#ifndef PF_INET
+#    define PF_INET AF_INET                                          /* BeOS */
+#endif
+
 #if 0
 typedef struct httpd_t          httpd_t;