projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix closein for mingw.
[pspp]
/
lib
/
unistd_.h
diff --git
a/lib/unistd_.h
b/lib/unistd_.h
index 344b5a388823a78509d23db7963cd28c6825b0dd..4febc90b46e6815deef64a57026edc0aa0bd660e 100644
(file)
--- a/
lib/unistd_.h
+++ b/
lib/unistd_.h
@@
-27,6
+27,8
@@
# include <stdio.h>
#endif
+/* mingw fails to declare _exit in <unistd.h>. */
+#include <stdlib.h>
/* The definition of GL_LINK_WARNING is copied here. */