Need to include stdexcept
diff --git a/ndn-cpp/Name.cpp b/ndn-cpp/Name.cpp
index fca3e05..6098400 100644
--- a/ndn-cpp/Name.cpp
+++ b/ndn-cpp/Name.cpp
@@ -4,6 +4,7 @@
  * BSD license, See the LICENSE file for more information.
  */
 
+#include <stdexcept>
 #include <sstream>
 #include "Name.hpp"