use HAVE_LIMITS_H symbol to protect limits.h inclusion

This commit is contained in:
Yang Tse 2009-04-14 13:50:32 +00:00
parent 2c27e24bb4
commit 9cc6ab3922
11 changed files with 33 additions and 6 deletions

View file

@ -31,7 +31,9 @@
#include <stdlib.h>
#include <stdarg.h>
#include <ctype.h>
#include <limits.h>
#ifdef HAVE_LIMITS_H
# include <limits.h>
#endif
#include <libssh2.h>
#include <libssh2_sftp.h>