diff --git a/include/opendht/node_export.h b/include/opendht/node_export.h
index a6ba0b3df1e71577cb618a704dd10160e6776640..bb451acce25f0182b35bfc07f8f26730b5b8ca70 100644
--- a/include/opendht/node_export.h
+++ b/include/opendht/node_export.h
@@ -20,7 +20,10 @@
 #include "infohash.h"
 #include "sockaddr.h"
 
+#include <string_view>
+
 namespace dht {
+using namespace std::literals;
 
 struct OPENDHT_PUBLIC NodeExport {
     InfoHash id;