include win-mac.h in gssftp/ftp/cmds.c for HAVE_STDLIB_H
authorTom Yu <tlyu@mit.edu>
Fri, 17 Jul 2009 01:35:58 +0000 (01:35 +0000)
committerTom Yu <tlyu@mit.edu>
Fri, 17 Jul 2009 01:35:58 +0000 (01:35 +0000)
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

src/appl/gssftp/ftp/cmds.c

index 9afefe118bbb2f23eba57399e059f96004f66e01..0e06a8d56eaf9a7aa498fef7b72635a454914a6f 100644 (file)
@@ -38,6 +38,10 @@ static char sccsid[] = "@(#)cmds.c   5.26 (Berkeley) 3/5/91";
 /*
  * FTP User Program -- Command Routines.
  */
+#ifdef _WIN32
+#include <win-mac.h>
+#endif
+
 #ifdef HAVE_STDLIB_H
 #include <stdlib.h>
 #endif