Include time.h for time handling functions.
diff --git a/lib/zip_dirent.c b/lib/zip_dirent.c index 630b6a4..74f8988 100644 --- a/lib/zip_dirent.c +++ b/lib/zip_dirent.c
@@ -37,6 +37,7 @@ #include <string.h> #include <sys/types.h> #include <sys/stat.h> +#include <time.h> #include "zipint.h"