From 827b643f490c9e1409ebf60dbf78212591a1a95e Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 12 Jul 2007 08:58:09 +0000 Subject: [PATCH] Fixed missing alloc macro on mingw32, I think. --- CHANGELOG.txt | 1 + physfs_internal.h | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 7582eaa3..282236f6 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -2,6 +2,7 @@ * CHANGELOG. */ +07122007 - Maybe fixed compile on mingw32. 07112007 - Fixed crash on zero-byte read/write (thanks, Ensiform!). 05272007 - FIXME removal: Replaced a strncpy() with a memcpy(). 05112007 - Minor documentation correction. diff --git a/physfs_internal.h b/physfs_internal.h index f9da66e1..7fc37df7 100644 --- a/physfs_internal.h +++ b/physfs_internal.h @@ -29,6 +29,10 @@ #include #endif +#ifdef __MINGW32__ +#include +#endif + #ifdef __cplusplus extern "C" { #endif