From: Trond Norbye Date: Sun, 1 Aug 2010 22:25:02 +0000 (+0200) Subject: Fix compile problems when cross compiling X-Git-Tag: 0.44~7^2~1 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=286723eef769e0598ea428c522c07f868b92ca1b;p=awesomized%2Flibmemcached Fix compile problems when cross compiling --- 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.