Commit d8ae0aac authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

vlc_network.h: Prefer to use #ifdef instead of #if for HAVE_ macro.

parent d1c108ec
...@@ -46,10 +46,10 @@ extern const char *net_strerror( int val ); ...@@ -46,10 +46,10 @@ extern const char *net_strerror( int val );
# endif # endif
#else #else
# include <sys/socket.h> # include <sys/socket.h>
# if HAVE_NETINET_IN_H # ifdef HAVE_NETINET_IN_H
# include <netinet/in.h> # include <netinet/in.h>
# endif # endif
# if HAVE_ARPA_INET_H # ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h> # include <arpa/inet.h>
# elif defined( SYS_BEOS ) # elif defined( SYS_BEOS )
# include <net/netdb.h> # include <net/netdb.h>
......
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