summaryrefslogtreecommitdiffstats
path: root/src/util/os_misc.c
diff options
context:
space:
mode:
authorJose Fonseca <[email protected]>2019-08-27 11:51:00 +0100
committerJose Fonseca <[email protected]>2019-08-28 15:52:07 +0100
commit46f7b3662f09e0beb0251817c1501110a46b3604 (patch)
tree875bc0ed03e1ecde55605bf07d03ad11635b0a0e /src/util/os_misc.c
parent70295563989cc3a9e82fa21253bfed576e130d9b (diff)
util: Prevent implicit declaration of function getenv.
With MinGW cross compilation. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]> Acked-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/util/os_misc.c')
-rw-r--r--src/util/os_misc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/os_misc.c b/src/util/os_misc.c
index 755970430b0..436bc38604b 100644
--- 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