From: Tobias Stoeckmann Date: Wed, 10 Jun 2026 18:08:33 +0000 (+0200) Subject: time: Sort header includes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7df4dee12db671abeb893cff93e166c5836a44b0;p=thirdparty%2Flibarchive.git time: Sort header includes While at it, add header checks. Signed-off-by: Tobias Stoeckmann --- diff --git a/libarchive/archive_time.c b/libarchive/archive_time.c index 3352c809b..0f02345f3 100644 --- a/libarchive/archive_time.c +++ b/libarchive/archive_time.c @@ -24,11 +24,19 @@ */ #include "archive_platform.h" -#include "archive_private.h" -#include "archive_time_private.h" + +#ifdef HAVE_LIMITS_H #include +#endif +#ifdef HAVE_STDLIB_H #include +#endif +#ifdef HAVE_STRING_H #include +#endif + +#include "archive_private.h" +#include "archive_time_private.h" #define NTFS_EPOC_TIME ARCHIVE_LITERAL_ULL(11644473600) #define NTFS_TICKS ARCHIVE_LITERAL_ULL(10000000)