[vlc-commits] src/darwin: fix compilation for iOS
    Felix Paul Kühne 
    git at videolan.org
       
    Sat Oct 26 13:56:27 CEST 2013
    
    
  
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Oct 26 13:53:46 2013 +0200| [70e68841f75385cf9a20769a5a43b5af06ea76b9] | committer: Felix Paul Kühne
src/darwin: fix compilation for iOS
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=70e68841f75385cf9a20769a5a43b5af06ea76b9
---
 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