--- external/xdg/xdg.h.orig
+++ external/xdg/xdg.h
@@ -19,6 +19,7 @@
 
 #include <string>
 #include <vector>
+#include <memory>
 
 namespace xdg
 {
