Include signal.h before ftp_var.h to silence my_sig_t redefinition problem
authorKen Raeburn <raeburn@mit.edu>
Tue, 4 Mar 2008 23:29:30 +0000 (23:29 +0000)
committerKen Raeburn <raeburn@mit.edu>
Tue, 4 Mar 2008 23:29:30 +0000 (23:29 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20256 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/gssftp/ftp/domacro.c
src/appl/gssftp/ftp/main.c

index 50684a72be3e038210df70be0034f5b0b5af0e1c..e15196a6c99fd07a4d1716677bdb2a0c42347828 100644 (file)
@@ -36,10 +36,10 @@ static char sccsid[] = "@(#)domacro.c       1.8 (Berkeley) 9/28/90";
 #endif /* not lint */
 
 #include <stdio.h>
+#include <signal.h>
 
 #include "ftp_var.h"
 
-#include <signal.h>
 #include <errno.h>
 #include <ctype.h>
 #include <string.h>
index 8e4cfe5efd4e63b08c5ff9159c7ea1dfa3a74d6b..2e8c2cb8aa44789350418302e438582afc9b24ae 100644 (file)
@@ -52,6 +52,7 @@ static char sccsid[] = "@(#)main.c    5.18 (Berkeley) 3/1/91";
 #endif
 
 #include <stdio.h>
+#include <signal.h>
 #include "ftp_var.h"
 #ifndef _WIN32
 #ifndef KRB5_KRB4_COMPAT
@@ -71,7 +72,6 @@ static char sccsid[] = "@(#)main.c    5.18 (Berkeley) 3/1/91";
 
 #include <arpa/ftp.h>
 
-#include <signal.h>
 #include <string.h>
 #include <errno.h>
 #include <ctype.h>