+--- openexr_ctl-1.0.1/configure.ac.orig 2007-10-10 00:13:37.000000000 +0200
++++ openexr_ctl-1.0.1/configure.ac 2013-03-28 21:22:22.716662089 +0100
+@@ -108,6 +108,7 @@
+ [$CTL_LIBS],[[
+ #include <CtlSimdInterpreter.h>
+ #include <Iex.h>
++#include <cstdlib>
+ ]],
+ [[Ctl::SimdInterpreter interp; interp.setMaxInstCount(10);]],
+ AC_MSG_RESULT([The ctl test program succeeded.]),
+--- openexr_ctl-1.0.1/exrdpx/main.cpp.orig 2007-07-25 08:28:17.000000000 +0200
++++ openexr_ctl-1.0.1/exrdpx/main.cpp 2013-03-28 22:07:33.649881655 +0100
+@@ -57,6 +57,8 @@
+ #include <exrToDpx.h>
+ #include <ImfTestFile.h>
+ #include <ImfThreading.h>
++#include <cstdlib>
++#include <cstring>
+ #include <iostream>
+ #include <string>
+ #include <exception>
+--- openexr_ctl-1.0.1/exr_ctl_exr/applyCtl.cpp.orig 2007-07-13 05:24:37.000000000 +0200
++++ openexr_ctl-1.0.1/exr_ctl_exr/applyCtl.cpp 2013-03-28 22:09:13.796544120 +0100
+@@ -61,6 +61,8 @@
+ #include <ImfHeader.h>
+ #include <ImfFrameBuffer.h>
+ #include <cassert>
++#include <cstdio>
++#include <cstdlib>
+ #include <iostream>
+ #include <vector>
+ #include <string>
+--- openexr_ctl-1.0.1/exr_ctl_exr/main.cpp.orig 2007-07-25 08:02:11.000000000 +0200
++++ openexr_ctl-1.0.1/exr_ctl_exr/main.cpp 2013-03-28 22:10:49.799873425 +0100
+@@ -56,6 +56,7 @@
+ //-----------------------------------------------------------------------------
+
+ #include <exrCtlExr.h>
++#include <cstdlib>
+ #include <iostream>
+ #include <string>
+ #include <exception>