[vlc-commits] Missing #include

Rémi Denis-Courmont git at videolan.org
Thu Nov 3 20:21:13 CET 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Nov  3 21:21:01 2011 +0200| [6f2f2843bf82ef83ca2a597be8b57b4457be4989] | committer: Rémi Denis-Courmont

Missing #include

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6f2f2843bf82ef83ca2a597be8b57b4457be4989
---

 modules/services_discovery/sap.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/services_discovery/sap.c b/modules/services_discovery/sap.c
index a44cd6d..b3a29d6 100644
--- a/modules/services_discovery/sap.c
+++ b/modules/services_discovery/sap.c
@@ -43,6 +43,9 @@
 #ifdef HAVE_UNISTD_H
 #    include <unistd.h>
 #endif
+#ifdef HAVE_ARPA_INET_H
+# include <arpa/inet.h>
+#endif
 #ifdef HAVE_POLL
 # include <poll.h>
 #endif



More information about the vlc-commits mailing list