summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Rühsen <tim.ruehsen@gmx.de>2018-05-19 10:19:32 +0200
committerTim Rühsen <tim.ruehsen@gmx.de>2018-06-14 11:07:46 +0200
commita75d97033c839b0a764b50280b88b8fc6e4baa9f (patch)
tree66ba6ed0ecef7c704975db50aa476cfe500f6328
parent0dfcae4f768b0a988e0285bf0b3fd74e7f70aa16 (diff)
downloadgnutls-a75d97033c839b0a764b50280b88b8fc6e4baa9f.tar.gz
Skip sc_prohibit_always_true_header_tests
We can't simply remove the checks for HAVE_SYS_SOCKET_H. If we do, we have to make checks on real WIN32, which is currently not an option. So we skip sc_prohibit_always_true_header_tests. Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
-rw-r--r--cfg.mk1
-rw-r--r--guile/src/core.c2
-rw-r--r--guile/src/utils.c2
3 files changed, 1 insertions, 4 deletions
diff --git a/cfg.mk b/cfg.mk
index c53012cf22..3421ea8ecc 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -36,6 +36,7 @@ PO_DOMAIN := libgnutls
local-checks-to-skip = sc_GPL_version sc_bindtextdomain \
sc_immutable_NEWS sc_program_name sc_prohibit_atoi_atof \
+ sc_prohibit_always_true_header_tests \
sc_prohibit_empty_lines_at_EOF sc_prohibit_hash_without_use \
sc_prohibit_have_config_h sc_prohibit_magic_number_exit \
sc_prohibit_strcmp sc_require_config_h \
diff --git a/guile/src/core.c b/guile/src/core.c
index 2c38b60235..605c91f7af 100644
--- a/guile/src/core.c
+++ b/guile/src/core.c
@@ -28,9 +28,7 @@
#include <gnutls/openpgp.h>
#include <libguile.h>
-#ifdef HAVE_ALLOCA_H
#include <alloca.h>
-#endif
#include "enums.h"
#include "smobs.h"
diff --git a/guile/src/utils.c b/guile/src/utils.c
index 24aca49100..d4ca3b9f0f 100644
--- a/guile/src/utils.c
+++ b/guile/src/utils.c
@@ -26,9 +26,7 @@
#include <gnutls/gnutls.h>
#include <libguile.h>
-#ifdef HAVE_ALLOCA_H
#include <alloca.h>
-#endif
#include "enums.h"
#include "errors.h"