diff options
| author | Thies C. Arntzen <thies@php.net> | 1999-11-19 18:33:21 +0000 |
|---|---|---|
| committer | Thies C. Arntzen <thies@php.net> | 1999-11-19 18:33:21 +0000 |
| commit | 3e59135a5c8c7574c14acb0c420fd58546b03e11 (patch) | |
| tree | 4e6f064a2e3dbbc5e5d308189ad47be8c2e42d33 /ext | |
| parent | 1f11e07fc692e64991ffc8a009f2270db56cb246 (diff) | |
| download | php-git-3e59135a5c8c7574c14acb0c420fd58546b03e11.tar.gz | |
<sys/time.h> is needed on linux
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/ftp/ftp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c index 71f9960bfd..47131efa31 100644 --- a/ext/ftp/ftp.c +++ b/ext/ftp/ftp.c @@ -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 |
