--- a/src/utils/pathut.cpp
+++ b/src/utils/pathut.cpp
@@ -548,7 +548,7 @@
 }
 
 #else // TEST_PATHUT
-
+#include <stdlib.h>
 #include <iostream>
 using namespace std;