From 9fef76d6af934225346e54bd70c0dd2a6c9c93c6 Mon Sep 17 00:00:00 2001
From: adrien-matta <a.matta@surrey.ac.uk>
Date: Tue, 7 Apr 2015 09:21:18 +0100
Subject: [PATCH] * adding missing include for linux

---
 NPLib/Core/NPDetectorFactory.cxx | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/NPLib/Core/NPDetectorFactory.cxx b/NPLib/Core/NPDetectorFactory.cxx
index 1fe9e31ae..961f9bc64 100644
--- a/NPLib/Core/NPDetectorFactory.cxx
+++ b/NPLib/Core/NPDetectorFactory.cxx
@@ -3,6 +3,8 @@ using namespace NPA;
 #include<dlfcn.h>
 #include<fstream>
 #include<iostream>
+#include<stdlib.h>
+
 DetectorFactory* DetectorFactory::m_Instance = 0;
 #ifdef __linux__
 std::string SHARED_LIB_EXTENSION = ".so";
-- 
GitLab