CVS update: php3/functions

From: Date: Tue, 15 Jun 1999 17:13:15 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-6992@lists.php.net to get a copy of this message
Date: Tuesday June 15, 1999 @ 13:13 Author: fmk Update of /repository/php3/functions In directory php:/tmp/cvs-serv13659 Modified Files: fsock.c Log Message: Removing compiler warning on Win32 Index: php3/functions/fsock.c diff -u php3/functions/fsock.c:1.116 php3/functions/fsock.c:1.117 --- php3/functions/fsock.c:1.116 Mon Jun 14 02:22:02 1999 +++ php3/functions/fsock.c Tue Jun 15 13:13:14 1999 @@ -27,7 +27,7 @@ | Jim Winstead (jimw@php.net) | +----------------------------------------------------------------------+ */ -/* $Id: fsock.c,v 1.116 1999/06/14 06:22:02 sas Exp $ */ +/* $Id: fsock.c,v 1.117 1999/06/15 17:13:14 fmk Exp $ */ #ifdef THREAD_SAFE #include "tls.h" #endif @@ -53,12 +53,13 @@ #include <sys/socket.h> #endif #ifdef WIN32 +#define WINNT 1 #include <winsock.h> #else #include <netinet/in.h> #include <netdb.h> -#include <arpa/inet.h> #endif +#include <arpa/inet.h> #ifdef WIN32 #undef AF_UNIX #endif

« previous php.dev (#6992) next »