cvs: /php3/functions ftp.c
| From: | Sascha Schumann | Date: | Tue, 23 Nov 1999 09:34:24 +0000 |
| Subject: | cvs: /php3/functions ftp.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-12967@lists.php.net to get a copy of this message | ||
sas Tue Nov 23 04:34:24 1999 EDT
Modified files:
/php3/functions ftp.c
Log:
Fix for missing definition of struct timeval
Index: php3/functions/ftp.c
diff -u php3/functions/ftp.c:1.10 php3/functions/ftp.c:1.11
--- php3/functions/ftp.c:1.10 Thu Nov 18 15:35:03 1999
+++ php3/functions/ftp.c Tue Nov 23 04:34:23 1999
@@ -28,7 +28,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: ftp.c,v 1.10 1999/11/18 20:35:03 askalski Exp $ */
+/* $Id: ftp.c,v 1.11 1999/11/23 09:34:23 sas Exp $ */
#include "php.h"
@@ -45,6 +45,11 @@
#include <netinet/in.h>
#include <netdb.h>
#include <errno.h>
+
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
+
#include "ftp.h"