projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7029556
)
util: Prevent implicit declaration of function getenv.
author
Jose Fonseca
<jfonseca@vmware.com>
Tue, 27 Aug 2019 10:51:00 +0000
(11:51 +0100)
committer
Jose Fonseca
<jfonseca@vmware.com>
Wed, 28 Aug 2019 14:52:07 +0000
(15:52 +0100)
With MinGW cross compilation.
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Acked-by: Eric Engestrom <eric@engestrom.ch>
src/util/os_misc.c
patch
|
blob
|
history
diff --git
a/src/util/os_misc.c
b/src/util/os_misc.c
index 755970430b00ace5111a7c8bce05f5128308f98a..436bc38604b8757e96154af1ce089d70ae187dae 100644
(file)
--- a/
src/util/os_misc.c
+++ b/
src/util/os_misc.c
@@
-38,6
+38,7
@@
#endif
#include <windows.h>
#include <stdio.h>
+#include <stdlib.h>
#else