While at it, add header checks.
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
*/
#include "archive_platform.h"
-#include "archive_private.h"
-#include "archive_time_private.h"
+
+#ifdef HAVE_LIMITS_H
#include <limits.h>
+#endif
+#ifdef HAVE_STDLIB_H
#include <stdlib.h>
+#endif
+#ifdef HAVE_STRING_H
#include <string.h>
+#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)