From c30175e5dfc83c42eba93614ce7c084236f348a9 Mon Sep 17 00:00:00 2001 From: marha Date: Sun, 24 Jan 2010 12:57:19 +0000 Subject: Remap hypot to _hypot. Make sure the strdup prototype is included. --- libXfont/src/FreeType/ftfuncs.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libXfont/src/FreeType/ftfuncs.c') diff --git a/libXfont/src/FreeType/ftfuncs.c b/libXfont/src/FreeType/ftfuncs.c index 47ebac737..655afa407 100644 --- a/libXfont/src/FreeType/ftfuncs.c +++ b/libXfont/src/FreeType/ftfuncs.c @@ -37,6 +37,7 @@ THE SOFTWARE. #include #include #include +#include #include #include @@ -133,6 +134,9 @@ sfnt_get_ushort( FT_Face face, #define sfnt_get_short(f,t,o) ((FT_Short)sfnt_get_ushort((f),(t),(o))) +#ifdef _MSC_VER +#define hypot _hypot +#endif static int ftypeInitP = 0; /* is the engine initialised? */ FT_Library ftypeLibrary; -- cgit v1.2.3