Re: cvs: php4 /ext/ftp ftp.c

From: Date: Thu, 07 Mar 2002 20:34:41 +0000
Subject: Re: cvs: php4 /ext/ftp ftp.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-9797@lists.php.net to get a copy of this message
On Thu, 7 Mar 2002, Jon Parise wrote: > 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> Is this needed for the ftp module to build on FreeBSD 4.5 ? Derick > > > 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> > > > > -- > PHP CVS Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > ---------------------------------------------------------------------- PHP: Scripting the Web - derick@php.net All your branches are belong to me! SRM: Site Resource Manager - www.vl-srm.net -----------------------------------------------------------------------

« previous php.cvs (#9797) next »