aadded an include directive for windows in a #ifdef
[charm.git] / src / xlatcpm / conv-cpm.c
index 2d5b77adeae5cebd854918adbf73f5791930a92a..16ed308455ebc125a22f5b4e323dd12cc53a799b 100644 (file)
@@ -10,6 +10,9 @@
 #define YY_FLEX_MINOR_VERSION 5
 
 #include <stdio.h>
+#ifdef WIN32
+#include <stdlib.h>
+#endif
 
 
 /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */