projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ee2f3e
)
Include stdlib.h in cde/config/imake/ccimake.c
author
David Cantrell
<david.l.cantrell@gmail.com>
Fri, 17 Aug 2012 19:41:00 +0000
(15:41 -0400)
committer
David 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
patch
|
blob
|
history
diff --git
a/cde/config/imake/ccimake.c
b/cde/config/imake/ccimake.c
index 57ccf6a8ac157e21360272cef1fda9cecaca1429..db76b5894b442130320288b565ffbcf44820772e 100644
(file)
--- a/
cde/config/imake/ccimake.c
+++ b/
cde/config/imake/ccimake.c
@@
-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);