diff --git a/DDG4/plugins/Geant4DetectorConstructionResources.cpp b/DDG4/plugins/Geant4DetectorConstructionResources.cpp
index f07c283a5387d74340dea6c15166bdc4be547978..f6aed44e52e86433161852b2f991049514f6bd21 100644
--- a/DDG4/plugins/Geant4DetectorConstructionResources.cpp
+++ b/DDG4/plugins/Geant4DetectorConstructionResources.cpp
@@ -14,6 +14,7 @@
 
 // Framework include files
 #include <DDG4/Geant4DetectorConstruction.h>
+#include <unistd.h>
 
 // C/C++ include files