Module: wine Branch: master Commit: 9138dce3671e145d78ba9669a967402882421547 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9138dce3671e145d78ba9669a9...
Author: Stefan Dösinger stefan@codeweavers.com Date: Thu Dec 19 15:11:38 2013 +0100
libport: Include stdlib.h on MSVC for getenv.
---
libs/port/getopt.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/libs/port/getopt.c b/libs/port/getopt.c index fb1e315..7c97192 100644 --- a/libs/port/getopt.c +++ b/libs/port/getopt.c @@ -73,6 +73,8 @@ contain conflicting prototypes for getopt. */ # include <stdlib.h> # include <unistd.h> +#elif defined _MSC_VER +# include <stdlib.h> #endif /* GNU C library. */
#ifdef VMS