summaryrefslogtreecommitdiff
path: root/xmlschemastypes.c
diff options
context:
space:
mode:
Diffstat (limited to 'xmlschemastypes.c')
-rw-r--r--xmlschemastypes.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/xmlschemastypes.c b/xmlschemastypes.c
index 64a3b3e0..419c1910 100644
--- a/xmlschemastypes.c
+++ b/xmlschemastypes.c
@@ -18,6 +18,9 @@
#ifdef LIBXML_SCHEMAS_ENABLED
#include <string.h>
+#include <math.h>
+#include <float.h>
+
#include <libxml/xmlmemory.h>
#include <libxml/parser.h>
#include <libxml/parserInternals.h>
@@ -30,13 +33,6 @@
#include <libxml/schemasInternals.h>
#include <libxml/xmlschemastypes.h>
-#ifdef HAVE_MATH_H
-#include <math.h>
-#endif
-#ifdef HAVE_FLOAT_H
-#include <float.h>
-#endif
-
#define DEBUG
#ifndef LIBXML_XPATH_ENABLED