diff --git a/DDCore/src/Plugins.cpp b/DDCore/src/Plugins.cpp
index 7b429c4627d3ec2d625792abe1908eaaf78907fb..1ef820abfec5f847a43965917d532841a104823b 100644
--- a/DDCore/src/Plugins.cpp
+++ b/DDCore/src/Plugins.cpp
@@ -17,6 +17,7 @@
 #if defined(DD4HEP_ROOT_VERSION_5)
 #include "DD4hep/Plugins.inl"
 #endif
+#include <cstdlib>
 
 using namespace std;
 using namespace DD4hep;