summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2019-04-08 14:07:29 +0200
committerNick Wellnhofer <wellnhofer@aevum.de>2019-04-08 15:08:57 +0200
commit098c399072f6239124a3817b49ac12ad424fdbcb (patch)
tree969776765c23f43422f0d43fbda46741442c965f
parent63e276800eaaedd007c50c23a8f383736beb3e7c (diff)
downloadlibxslt-098c399072f6239124a3817b49ac12ad424fdbcb.tar.gz
Stop including ansidecl.h
This seems to be an undocumented, internal GCC header added a long time ago. Resolves !2.
-rw-r--r--configure.ac2
-rw-r--r--libexslt/exsltconfig.h.in3
-rw-r--r--libxslt/xsltconfig.h.in3
3 files changed, 1 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index ae643387..0780bc80 100644
--- a/configure.ac
+++ b/configure.ac
@@ -168,7 +168,7 @@ dnl
dnl Math detection
dnl
-AC_CHECK_HEADERS(ieeefp.h nan.h math.h fp_class.h float.h ansidecl.h)
+AC_CHECK_HEADERS(ieeefp.h nan.h math.h fp_class.h float.h)
AC_CHECK_HEADERS(sys/timeb.h time.h sys/stat.h sys/select.h stdarg.h)
AC_CHECK_HEADERS(errno.h)
AC_CHECK_FUNCS(stat _stat)
diff --git a/libexslt/exsltconfig.h.in b/libexslt/exsltconfig.h.in
index 03b4b3b6..2e58ec62 100644
--- a/libexslt/exsltconfig.h.in
+++ b/libexslt/exsltconfig.h.in
@@ -56,9 +56,6 @@ extern "C" {
* This macro is used to flag unused function parameters to GCC
*/
#ifdef __GNUC__
-#ifdef HAVE_ANSIDECL_H
-#include <ansidecl.h>
-#endif
#ifndef ATTRIBUTE_UNUSED
#define ATTRIBUTE_UNUSED __attribute__((unused))
#endif
diff --git a/libxslt/xsltconfig.h.in b/libxslt/xsltconfig.h.in
index 1dda1766..f381ded2 100644
--- a/libxslt/xsltconfig.h.in
+++ b/libxslt/xsltconfig.h.in
@@ -129,9 +129,6 @@ extern "C" {
* This macro is used to flag unused function parameters to GCC
*/
#ifdef __GNUC__
-#ifdef HAVE_ANSIDECL_H
-#include <ansidecl.h>
-#endif
#ifndef ATTRIBUTE_UNUSED
#define ATTRIBUTE_UNUSED __attribute__((unused))
#endif