Commit 999348ce authored by Steve Lhomme's avatar Steve Lhomme

use proper check for the arpa/inet.h availability

parent 6428fc2f
......@@ -30,7 +30,9 @@
#include <vlc_plugin.h>
#include <vlc_demux.h>
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
#include <DeckLinkAPI.h>
#include <DeckLinkAPIDispatch.cpp>
......
......@@ -41,9 +41,11 @@
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
# include <netinet/in.h>
# include <arpa/inet.h>
# include <netdb.h>
#endif
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
#include <bdsm/bdsm.h>
#include "../smb_common.h"
......
......@@ -39,7 +39,9 @@
# define accept4(a,b,c,d) accept(a,b,c)
#endif
#include <netinet/in.h>
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
#include <vlc_common.h>
#include <vlc_tls.h>
......
......@@ -23,7 +23,9 @@
#endif
#include <assert.h>
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
#include <X11/XWDFile.h>
#include <vlc_common.h>
......
......@@ -43,7 +43,9 @@
#include <vlc_block.h>
#include <vlc_image.h>
#include <vlc_aout.h>
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
#include <DeckLinkAPI.h>
#include <DeckLinkAPIDispatch.cpp>
......
......@@ -30,7 +30,9 @@
#include <vlc_common.h>
#include <vlc_network.h>
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
#define _NI_MASK (NI_NUMERICHOST|NI_NUMERICSERV|NI_NOFQDN|NI_NAMEREQD|\
NI_DGRAM)
......
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