summaryrefslogtreecommitdiff
path: root/xmlschemastypes.c
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2022-03-02 00:29:17 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2022-03-02 00:43:54 +0100
commit776d15d38359255434f5d55722430dfcb7b3eba5 (patch)
tree2c205ab402f337d78864fc601e3c9e1c777898c6 /xmlschemastypes.c
parent8f3bd262413fbac0c2314249ea3836667fce4538 (diff)
downloadlibxml2-776d15d38359255434f5d55722430dfcb7b3eba5.tar.gz
Don't check for standard C89 headers
Don't check for - ctype.h - errno.h - float.h - limits.h - math.h - signal.h - stdarg.h - stdlib.h - string.h - time.h Stop including non-standard headers - malloc.h - strings.h
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