--- a/libupnpp/control/cdirectory.cxx
+++ b/libupnpp/control/cdirectory.cxx
@@ -34,11 +34,11 @@
 #include "libupnpp/upnpp_p.hxx"
 #include "libupnpp/upnpplib.hxx"
 #include "libupnpp/ixmlwrap.hxx"
+#include "libupnpp/soaphelp.hxx"
+#include "libupnpp/log.hxx"
 #include "libupnpp/control/cdirectory.hxx"
 #include "libupnpp/control/cdircontent.hxx"
-#include "libupnpp/discovery.hxx"
-#include "libupnpp/soaphelp.hxx"
-#include "libupnpp/log.hxx"
+#include "libupnpp/control/discovery.hxx"
 
 namespace UPnPClient {