summaryrefslogtreecommitdiff
path: root/lib/ssh-libssh.c
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 /lib/ssh-libssh.c
parent129390a518c41739364081c8966a718f2ac347a4 (diff)
downloadcurl-908a9a6742b1010894fae2a4a9cf797b051d6c33.tar.gz
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 'lib/ssh-libssh.c')
-rw-r--r--lib/ssh-libssh.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/ssh-libssh.c b/lib/ssh-libssh.c
index fb49a22d5..56775d70d 100644
--- a/lib/ssh-libssh.c
+++ b/lib/ssh-libssh.c
@@ -27,9 +27,7 @@
#ifdef USE_LIBSSH
-#ifdef HAVE_LIMITS_H
#include <limits.h>
-#endif
#include <libssh/libssh.h>
#include <libssh/sftp.h>