From 908a9a6742b1010894fae2a4a9cf797b051d6c33 Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Wed, 3 Jan 2018 14:40:52 -0500 Subject: build: remove HAVE_LIMITS_H check .. because limits.h presence isn't optional, it's required by C89. Ref: http://port70.net/~nsz/c/c89/c89-draft.html#2.2.4.2 Closes https://github.com/curl/curl/pull/2215 --- tests/libtest/lib1502.c | 2 -- tests/libtest/lib518.c | 2 -- tests/libtest/lib537.c | 2 -- tests/libtest/lib540.c | 2 -- tests/libtest/lib557.c | 2 -- tests/libtest/lib591.c | 2 -- tests/libtest/lib597.c | 2 -- tests/libtest/libntlmconnect.c | 2 -- 8 files changed, 16 deletions(-) (limited to 'tests/libtest') diff --git a/tests/libtest/lib1502.c b/tests/libtest/lib1502.c index 188c120f8..6f253c7ec 100644 --- a/tests/libtest/lib1502.c +++ b/tests/libtest/lib1502.c @@ -29,9 +29,7 @@ #include "test.h" -#ifdef HAVE_LIMITS_H #include -#endif #include "testutil.h" #include "warnless.h" diff --git a/tests/libtest/lib518.c b/tests/libtest/lib518.c index e2dcb440d..81c5a5fad 100644 --- a/tests/libtest/lib518.c +++ b/tests/libtest/lib518.c @@ -27,9 +27,7 @@ #ifdef HAVE_FCNTL_H #include #endif -#ifdef HAVE_LIMITS_H #include -#endif #include "warnless.h" #include "memdebug.h" diff --git a/tests/libtest/lib537.c b/tests/libtest/lib537.c index b5ee2ce5b..bdc2e62eb 100644 --- a/tests/libtest/lib537.c +++ b/tests/libtest/lib537.c @@ -27,9 +27,7 @@ #ifdef HAVE_FCNTL_H #include #endif -#ifdef HAVE_LIMITS_H #include -#endif #include "warnless.h" #include "memdebug.h" diff --git a/tests/libtest/lib540.c b/tests/libtest/lib540.c index a13653ce6..ff8a9b059 100644 --- a/tests/libtest/lib540.c +++ b/tests/libtest/lib540.c @@ -30,9 +30,7 @@ #include "test.h" -#ifdef HAVE_LIMITS_H #include -#endif #include "testutil.h" #include "warnless.h" diff --git a/tests/libtest/lib557.c b/tests/libtest/lib557.c index 9a87fbda9..22ab9ec2e 100644 --- a/tests/libtest/lib557.c +++ b/tests/libtest/lib557.c @@ -27,9 +27,7 @@ #include "test.h" -#ifdef HAVE_LIMITS_H #include -#endif #ifdef HAVE_LOCALE_H # include /* for setlocale() */ diff --git a/tests/libtest/lib591.c b/tests/libtest/lib591.c index f25cc4d73..0a406cee0 100644 --- a/tests/libtest/lib591.c +++ b/tests/libtest/lib591.c @@ -23,9 +23,7 @@ /* lib591 is used for test cases 591, 592, 593 and 594 */ -#ifdef HAVE_LIMITS_H #include -#endif #include diff --git a/tests/libtest/lib597.c b/tests/libtest/lib597.c index c8529743e..d7f38c4c8 100644 --- a/tests/libtest/lib597.c +++ b/tests/libtest/lib597.c @@ -21,9 +21,7 @@ ***************************************************************************/ #include "test.h" -#ifdef HAVE_LIMITS_H #include -#endif #include "testutil.h" #include "warnless.h" diff --git a/tests/libtest/libntlmconnect.c b/tests/libtest/libntlmconnect.c index 0d527a779..59f94b68a 100644 --- a/tests/libtest/libntlmconnect.c +++ b/tests/libtest/libntlmconnect.c @@ -21,9 +21,7 @@ ***************************************************************************/ #include "test.h" -#ifdef HAVE_LIMITS_H #include -#endif #include #include "testutil.h" -- cgit v1.2.3