From 286723eef769e0598ea428c522c07f868b92ca1b Mon Sep 17 00:00:00 2001 From: Trond Norbye Date: Mon, 2 Aug 2010 00:25:02 +0200 Subject: [PATCH] Fix compile problems when cross compiling --- win32/wrappers.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/win32/wrappers.h b/win32/wrappers.h index 20218fd5..80b44651 100644 --- a/win32/wrappers.h +++ b/win32/wrappers.h @@ -12,6 +12,8 @@ #ifndef WIN32_WRAPPERS_H #define WIN32_WRAPPERS_H 1 +#include + /* * One of the Windows headers define interface as a macro, but that * is causing problems with the member named "interface" in some of the @@ -19,6 +21,10 @@ */ #undef interface +#undef malloc +#undef realloc + + /* * WinSock use a separate range for error codes. Let's just map to the * WinSock ones. -- 2.30.2