]> granicus.if.org Git - php/commitdiff
<sys/time.h> is needed on linux
authorThies C. Arntzen <thies@php.net>
Fri, 19 Nov 1999 18:33:21 +0000 (18:33 +0000)
committerThies C. Arntzen <thies@php.net>
Fri, 19 Nov 1999 18:33:21 +0000 (18:33 +0000)
ext/ftp/ftp.c

index 71f9960bfd62050c59da451a73be3d030d8eb9f6..47131efa31daecfaec51706217f5388c0d28bea9 100644 (file)
 #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