aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2018-01-03 14:40:52 -0500
committerJay Satiro <raysatiro@yahoo.com>2018-01-05 23:34:30 -0500
commit908a9a6742b1010894fae2a4a9cf797b051d6c33 (patch)
treecb5381a70d543910de2b21b7bddf69702369c7cf /tests/libtest
parent129390a518c41739364081c8966a718f2ac347a4 (diff)
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
Diffstat (limited to 'tests/libtest')
-rw-r--r--tests/libtest/lib1502.c2
-rw-r--r--tests/libtest/lib518.c2
-rw-r--r--tests/libtest/lib537.c2
-rw-r--r--tests/libtest/lib540.c2
-rw-r--r--tests/libtest/lib557.c2
-rw-r--r--tests/libtest/lib591.c2
-rw-r--r--tests/libtest/lib597.c2
-rw-r--r--tests/libtest/libntlmconnect.c2
8 files changed, 0 insertions, 16 deletions
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 <limits.h>
-#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 <fcntl.h>
#endif
-#ifdef HAVE_LIMITS_H
#include <limits.h>
-#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 <fcntl.h>
#endif
-#ifdef HAVE_LIMITS_H
#include <limits.h>
-#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 <limits.h>
-#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 <limits.h>
-#endif
#ifdef HAVE_LOCALE_H
# include <locale.h> /* 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 <limits.h>
-#endif
#include <fcntl.h>
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 <limits.h>
-#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 <limits.h>
-#endif
#include <assert.h>
#include "testutil.h"