]> git.sesse.net Git - vlc/commitdiff
src/darwin: fix compilation for iOS
authorFelix Paul Kühne <fkuehne@videolan.org>
Sat, 26 Oct 2013 11:53:46 +0000 (13:53 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sat, 26 Oct 2013 11:56:22 +0000 (13:56 +0200)
src/darwin/netconf.c

index 802e0dc9953f71daabcd2106df62b351dbb7ac13..d5f66664a49eda91640cdf2c829739bd493e8d83 100644 (file)
 #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).