--- a/pp/opgprof_options.cpp
+++ b/pp/opgprof_options.cpp
@@ -8,6 +8,8 @@
  * @author John Levon
  * @author Philippe Elie
  */
+
+#include <cstdlib>
 
 #include <vector>
 #include <list>