diff --git a/include/pcp-cpp/pmda.hpp b/include/pcp-cpp/pmda.hpp
index b0c46a4..7446daf 100644
--- a/include/pcp-cpp/pmda.hpp
+++ b/include/pcp-cpp/pmda.hpp
@@ -1449,7 +1449,6 @@ class pmda {
         std::ostream &stream = (filename == "-") ? std::cout : file_stream;
         stream
             << std::endl
-            << "#include <stdpmid>" << std::endl << std::endl
             << "root { " << get_pmda_name() << " }" << std::endl << std::endl
             << "#include \"pmns\"" << std::endl << std::endl;
     }
diff --git a/test/functional/test_simple_export_root.expected b/test/functional/test_simple_export_root.expected
index 7973551..ce7145d 100644
--- a/test/functional/test_simple_export_root.expected
+++ b/test/functional/test_simple_export_root.expected
@@ -1,6 +1,4 @@
 
-#include <stdpmid>
-
 root { simple }
 
 #include "pmns"
diff --git a/test/functional/test_simplecpu_export_root.expected b/test/functional/test_simplecpu_export_root.expected
index 963280f..75455e4 100644
--- a/test/functional/test_simplecpu_export_root.expected
+++ b/test/functional/test_simplecpu_export_root.expected
@@ -1,6 +1,4 @@
 
-#include <stdpmid>
-
 root { simplecpu }
 
 #include "pmns"
diff --git a/test/functional/test_trivial_export_root.expected b/test/functional/test_trivial_export_root.expected
index 4d6d7cd..4ad1810 100644
--- a/test/functional/test_trivial_export_root.expected
+++ b/test/functional/test_trivial_export_root.expected
@@ -1,6 +1,4 @@
 
-#include <stdpmid>
-
 root { trivial }
 
 #include "pmns"