summaryrefslogtreecommitdiffstats
path: root/WebKit/win/WebDownload.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/win/WebDownload.h')
-rw-r--r--WebKit/win/WebDownload.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/WebKit/win/WebDownload.h b/WebKit/win/WebDownload.h
index 0d80b80..58c13e9 100644
--- a/WebKit/win/WebDownload.h
+++ b/WebKit/win/WebDownload.h
@@ -28,11 +28,13 @@
#include "COMPtr.h"
#include "WebKit.h"
-
-#include <CFNetwork/CFURLDownloadPriv.h>
#include <WebCore/PlatformString.h>
#include <wtf/RetainPtr.h>
+#if USE(CFNETWORK)
+#include <CFNetwork/CFURLDownloadPriv.h>
+#endif
+
namespace WebCore {
class KURL;
class ResourceHandle;