From: Tom Yu Date: Fri, 17 Jul 2009 01:35:58 +0000 (+0000) Subject: include win-mac.h in gssftp/ftp/cmds.c for HAVE_STDLIB_H X-Git-Tag: krb5-1.8-alpha1~415 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa300905732f9952ed197fcefe1689e38abadc4c;p=thirdparty%2Fkrb5.git include win-mac.h in gssftp/ftp/cmds.c for HAVE_STDLIB_H gssftp/ftp/cmds.c had a preprocessor conditional on HAVE_STDLIB_H that will not evaluate correctly on WIN32 unless win-mac.h is included first. ticket: 6531 target_version: 1.6.4 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22443 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/gssftp/ftp/cmds.c b/src/appl/gssftp/ftp/cmds.c index 9afefe118b..0e06a8d56e 100644 --- a/src/appl/gssftp/ftp/cmds.c +++ b/src/appl/gssftp/ftp/cmds.c @@ -38,6 +38,10 @@ static char sccsid[] = "@(#)cmds.c 5.26 (Berkeley) 3/5/91"; /* * FTP User Program -- Command Routines. */ +#ifdef _WIN32 +#include +#endif + #ifdef HAVE_STDLIB_H #include #endif