From b52228e90598a86675b6959eb30804b8fe2b9d4d Mon Sep 17 00:00:00 2001 From: Charles Wilson Date: Tue, 21 Jul 2009 00:52:25 -0400 Subject: [PATCH] Minor MinGW fixes. * bsdtar_windows.h: New MinGW already defines PRId64; guard it. Ensure we have definition of MAX_PATH in time, by including windows.h. SVN-Revision: 1259 --- tar/bsdtar_windows.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tar/bsdtar_windows.h b/tar/bsdtar_windows.h index b1b874e4f..1f2ce8b4a 100644 --- a/tar/bsdtar_windows.h +++ b/tar/bsdtar_windows.h @@ -27,8 +27,11 @@ #ifndef BSDTAR_WINDOWS_H #define BSDTAR_WINDOWS_H 1 +#include +#ifndef PRId64 #define PRId64 "I64" +#endif #define geteuid() 0 struct __DIR; -- 2.47.3