cvs: php4 /ext/ftp ftp.c

From: Date: Thu, 07 Mar 2002 20:27:37 +0000
Subject: cvs: php4 /ext/ftp ftp.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-9796@lists.php.net to get a copy of this message
jon Thu Mar 7 15:27:37 2002 EDT Modified files: /php4/ext/ftp ftp.c Log: Correct the header file ordering. From 'man 3 inet' (FreeBSD 4.5): #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> Index: php4/ext/ftp/ftp.c diff -u php4/ext/ftp/ftp.c:1.44 php4/ext/ftp/ftp.c:1.45 --- php4/ext/ftp/ftp.c:1.44 Thu Feb 28 03:26:09 2002 +++ php4/ext/ftp/ftp.c Thu Mar 7 15:27:37 2002 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: ftp.c,v 1.44 2002/02/28 08:26:09 sebastian Exp $ */ +/* $Id: ftp.c,v 1.45 2002/03/07 20:27:37 jon Exp $ */ #include "php.h" @@ -34,9 +34,12 @@ #ifdef PHP_WIN32 #include <winsock.h> #else +#ifdef HAVE_SYS_TYPES_H +#include <sys/types.h> +#endif #include <sys/socket.h> -#include <arpa/inet.h> #include <netinet/in.h> +#include <arpa/inet.h> #include <netdb.h> #endif #include <errno.h>

« previous php.cvs (#9796) next »