svn rev #22443: trunk/src/appl/gssftp/ftp/

tlyu@MIT.EDU tlyu at MIT.EDU
Thu Jul 16 21:35:59 EDT 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=22443
Commit By: tlyu
Log Message:
ticket: 6531
target_version: 1.6.4
tags: pullup
subject: 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.


Changed Files:
U   trunk/src/appl/gssftp/ftp/cmds.c
Modified: trunk/src/appl/gssftp/ftp/cmds.c
===================================================================
--- trunk/src/appl/gssftp/ftp/cmds.c	2009-07-16 21:52:30 UTC (rev 22442)
+++ trunk/src/appl/gssftp/ftp/cmds.c	2009-07-17 01:35:58 UTC (rev 22443)
@@ -38,6 +38,10 @@
 /*
  * FTP User Program -- Command Routines.
  */
+#ifdef _WIN32
+#include <win-mac.h>
+#endif
+
 #ifdef HAVE_STDLIB_H
 #include <stdlib.h>
 #endif




More information about the cvs-krb5 mailing list