]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/url.cpp
Committing in .
[wxWidgets.git] / src / common / url.cpp
index c2e863f0b432495bef337d2f7cd6ba3455db6eb7..f10cd6c903bedc35705e6726e349cdd6241035d9 100644 (file)
@@ -20,8 +20,7 @@
 #pragma hdrstop
 #endif
 
-#include <string.h>
-#include <ctype.h>
+#if wxUSE_URL
 
 #include "wx/string.h"
 #include "wx/list.h"
@@ -29,6 +28,9 @@
 #include "wx/module.h"
 #include "wx/url.h"
 
+#include <string.h>
+#include <ctype.h>
+
 IMPLEMENT_CLASS(wxProtoInfo, wxObject)
 IMPLEMENT_CLASS(wxURL, wxObject)
 
@@ -521,3 +523,6 @@ void wxURLModule::OnExit()
 }
 
 #endif // wxUSE_SOCKETS
+
+#endif // wxUSE_URL
+