Commit 1b2a02b3 authored by Thomas Klausner's avatar Thomas Klausner Committed by Jean-Paul Saman

Remove unnecessary #ifndef BSD. netinet/ip.h is a standard header on *BSD....

Remove unnecessary #ifndef BSD. netinet/ip.h is a standard header on *BSD. Also, most BSDs don't define "BSD".
Signed-off-by: default avatarJean-Paul Saman <jpsaman@videolan.org>
parent 7289e368
...@@ -38,9 +38,7 @@ ...@@ -38,9 +38,7 @@
# include <netinet/if_ether.h> # include <netinet/if_ether.h>
#endif #endif
#include <netdb.h> #include <netdb.h>
#ifndef BSD #include <netinet/ip.h>
# include <netinet/ip.h>
#endif
#include <netinet/udp.h> #include <netinet/udp.h>
#include <arpa/inet.h> #include <arpa/inet.h>
......
...@@ -45,9 +45,7 @@ ...@@ -45,9 +45,7 @@
# include <netinet/if_ether.h> # include <netinet/if_ether.h>
# endif # endif
# include <netdb.h> # include <netdb.h>
# ifndef BSD # include <netinet/ip.h>
# include <netinet/ip.h>
# endif
# include <netinet/udp.h> # include <netinet/udp.h>
# include <arpa/inet.h> # include <arpa/inet.h>
#endif #endif
......
...@@ -42,9 +42,7 @@ ...@@ -42,9 +42,7 @@
# include <netinet/if_ether.h> # include <netinet/if_ether.h>
# endif # endif
# include <netdb.h> # include <netdb.h>
# ifndef BSD # include <netinet/ip.h>
# include <netinet/ip.h>
# endif
# include <netinet/udp.h> # include <netinet/udp.h>
# include <arpa/inet.h> # include <arpa/inet.h>
#endif #endif
......
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