summaryrefslogtreecommitdiff
path: root/src/fontfile/fontscale.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fontfile/fontscale.c')
-rw-r--r--src/fontfile/fontscale.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/fontfile/fontscale.c b/src/fontfile/fontscale.c
index 8e9de51..a6eafc7 100644
--- a/src/fontfile/fontscale.c
+++ b/src/fontfile/fontscale.c
@@ -35,13 +35,7 @@ in this Software without prior written authorization from The Open Group.
#include <config.h>
#endif
#include <X11/fonts/fntfilst.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 (FontEntryPtr entry, FontScalablePtr vals,