Commit 17d02421 authored by Eric Petit's avatar Eric Petit

BeOS doesn't know about PF_INET

parent 9cb381a0
...@@ -73,6 +73,9 @@ ...@@ -73,6 +73,9 @@
#ifndef IN_MULTICAST #ifndef IN_MULTICAST
# define IN_MULTICAST(a) IN_CLASSD(a) # define IN_MULTICAST(a) IN_CLASSD(a)
#endif #endif
#ifndef PF_INET
# define PF_INET AF_INET /* BeOS */
#endif
/***************************************************************************** /*****************************************************************************
......
...@@ -53,6 +53,10 @@ ...@@ -53,6 +53,10 @@
static const struct in6_addr in6addr_any = {{IN6ADDR_ANY_INIT}}; static const struct in6_addr in6addr_any = {{IN6ADDR_ANY_INIT}};
#endif #endif
#ifndef PF_INET
# define PF_INET AF_INET /* BeOS */
#endif
#if 0 #if 0
typedef struct httpd_t httpd_t; typedef struct httpd_t httpd_t;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment