cvs: /php4/ext/ftp ftp.c
| From: | Thies C. Arntzen | Date: | Fri, 19 Nov 1999 18:33:52 +0000 |
| Subject: | cvs: /php4/ext/ftp ftp.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-6514@lists.php.net to get a copy of this message | ||
thies Fri Nov 19 13:33:52 1999 EDT
Modified files:
/php4/ext/ftp ftp.c
Log:
<sys/time.h> is needed on linux
Index: php4/ext/ftp/ftp.c
diff -u php4/ext/ftp/ftp.c:1.10 php4/ext/ftp/ftp.c:1.11
--- php4/ext/ftp/ftp.c:1.10 Thu Nov 18 15:29:32 1999
+++ php4/ext/ftp/ftp.c Fri Nov 19 13:33:21 1999
@@ -28,7 +28,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: ftp.c,v 1.10 1999/11/18 20:29:32 askalski Exp $ */
+/* $Id: ftp.c,v 1.11 1999/11/19 18:33:21 thies Exp $ */
#include "php.h"
@@ -45,8 +45,12 @@
#include <netinet/in.h>
#include <netdb.h>
#include <errno.h>
-#include "ftp.h"
+#if HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
+
+#include "ftp.h"
/* sends an ftp command, returns true on success, false on error.
* it sends the string "cmd args\r\n" if args is non-null, or