diff options
Diffstat (limited to 'xc/lib/font/fontfile')
-rw-r--r-- | xc/lib/font/fontfile/fontscale.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/xc/lib/font/fontfile/fontscale.c b/xc/lib/font/fontfile/fontscale.c index bde2e3da7..bdb84d877 100644 --- a/xc/lib/font/fontfile/fontscale.c +++ b/xc/lib/font/fontfile/fontscale.c @@ -1,4 +1,4 @@ -/* $XConsortium: fontscale.c,v 1.12 94/02/08 12:30:05 gildea Exp $ */ +/* $XConsortium: fontscale.c,v 1.13 94/04/17 20:17:07 gildea Exp $ */ /* @@ -32,7 +32,13 @@ in this Software without prior written authorization from the X Consortium. */ #include "fntfilst.h" -#include "math.h" +#ifdef _XOPEN_SOURCE +#include <math.h> +#else +#define _XOPEN_SOURCE /* to get prototype for hypot on some systems */ +#include <math.h> +#undef _XOPEN_SOURCE +#endif Bool FontFileAddScaledInstance (entry, vals, pFont, bitmapName) |