--- src/tools/soothsayerSimulator.cpp.orig	2008-06-02 13:29:00 UTC
+++ src/tools/soothsayerSimulator.cpp
@@ -23,6 +23,7 @@
 
 #include <iostream>
 #include <fstream>
+#include <cstdlib>
 #include <string.h>
 
 #include <getopt.h>
