diff --git a/include/opendht.h b/include/opendht.h
index dd34d5516a4fa2627644da0c4adb5a5e4f656986..e0ad59537d91c83be5468ddaa24ab37a4a46e157 100644
--- a/include/opendht.h
+++ b/include/opendht.h
@@ -19,10 +19,4 @@
 #pragma once
 
 #include "opendht/dhtrunner.h"
-#ifdef OPENDHT_PROXY_SERVER
-#include "opendht/dht_proxy_server.h"
-#endif
 #include "opendht/default_types.h"
-#ifdef OPENDHT_INDEXATION
-#include "opendht/indexation/pht.h"
-#endif