Include stdlib.h in cde/config/imake/ccimake.c
authorDavid Cantrell <david.l.cantrell@gmail.com>
Fri, 17 Aug 2012 19:41:00 +0000 (15:41 -0400)
committerDavid Cantrell <david.l.cantrell@gmail.com>
Tue, 21 Aug 2012 14:08:03 +0000 (10:08 -0400)
stdlib.h defines exit(3) on Linux systems.

cde/config/imake/ccimake.c

index 57ccf6a8ac157e21360272cef1fda9cecaca1429..db76b5894b442130320288b565ffbcf44820772e 100644 (file)
@@ -56,6 +56,8 @@ in this Software without prior written authorization from The Open Group .
 #define imake_ccflags "-O"
 #endif
 
+#include <stdlib.h>
+
 main()
 {
        write(1, imake_ccflags, sizeof(imake_ccflags) - 1);