From 6029e437ee4982eeb3adf35ee563690d3418e6d1 Mon Sep 17 00:00:00 2001 From: Charles Wilson Date: Tue, 21 Jul 2009 00:54:01 -0400 Subject: [PATCH] Minor MinGW fixes. * bsdtar_windows.h: ensure struct bsdtar and struct archive are forward declared before declaring functions that take pointers to those types. SVN-Revision: 1260 --- tar/bsdtar_windows.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tar/bsdtar_windows.h b/tar/bsdtar_windows.h index 1f2ce8b4a..fa59be8f7 100644 --- a/tar/bsdtar_windows.h +++ b/tar/bsdtar_windows.h @@ -45,6 +45,9 @@ struct direct { extern "C" { #endif +struct bsdtar; +struct archive; + extern DIR *opendir(const char *path); extern struct dirent *readdir(DIR *dirp); extern int closedir(DIR *dirp); -- 2.47.3