[vlc-commits] src/darwin: fix compilation for iOS

Felix Paul Kühne git at videolan.org
Sat Oct 26 13:56:53 CEST 2013


vlc/vlc-2.1 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Oct 26 13:53:46 2013 +0200| [520294eea9ba14c1c43bb60fe150b76a026c7706] | committer: Felix Paul Kühne

src/darwin: fix compilation for iOS

(cherry picked from commit 70e68841f75385cf9a20769a5a43b5af06ea76b9)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=520294eea9ba14c1c43bb60fe150b76a026c7706
---

 src/darwin/netconf.c |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/darwin/netconf.c b/src/darwin/netconf.c
index 802e0dc..d5f6666 100644
--- a/src/darwin/netconf.c
+++ b/src/darwin/netconf.c
@@ -29,7 +29,13 @@
 #include <vlc_network.h>
 
 #include <CoreFoundation/CoreFoundation.h>
+
+#import <TargetConditionals.h>
+#if TARGET_OS_IPHONE
+#include <CFNetwork/CFProxySupport.h>
+#else
 #include <CoreServices/CoreServices.h>
+#endif
 
 /**
  * Determines the network proxy server to use (if any).



More information about the vlc-commits mailing list