From 1ed7e25a770d44fba425d50f3922f662a34b393d Mon Sep 17 00:00:00 2001
From: jmcarcell <jmcarcell@users.noreply.github.com>
Date: Sat, 6 Jul 2024 11:41:24 +0200
Subject: [PATCH] Add a missing header unistd.h; Clang 18 doesn't build without
 it

---
 DDG4/plugins/Geant4DetectorConstructionResources.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/DDG4/plugins/Geant4DetectorConstructionResources.cpp b/DDG4/plugins/Geant4DetectorConstructionResources.cpp
index f07c283a5..f6aed44e5 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
 
-- 
GitLab