diff options
Diffstat (limited to 'kftpgrabber/src/engine/directorylisting.h')
-rw-r--r-- | kftpgrabber/src/engine/directorylisting.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/kftpgrabber/src/engine/directorylisting.h b/kftpgrabber/src/engine/directorylisting.h index 51112f5..58b2f3f 100644 --- a/kftpgrabber/src/engine/directorylisting.h +++ b/kftpgrabber/src/engine/directorylisting.h @@ -37,14 +37,26 @@ #ifndef KFTPNETWORKDIRECTORYLISTING_H #define KFTPNETWORKDIRECTORYLISTING_H +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <tdeio/global.h> #include <kurl.h> #include <ntqvaluelist.h> #include <ntqptrlist.h> -#include <time.h> +#if TIME_WITH_SYS_TIME +# include <sys/time.h> +# include <time.h> +#else +#if HAVE_SYS_TIME_H #include <sys/time.h> +#else +#include <time.h> +#endif // HAVE_SYS_TIME_H +#endif // TIME_WITH_SYS_TIME typedef unsigned long long int filesize_t; |