From: Simon Josefsson Date: Fri, 9 Dec 2005 11:06:57 +0000 (+0000) Subject: ULONG_MAX should be in limits.h, so include it at the right place. X-Git-Tag: gnutls_1_3_2~26 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=652fd4fbd4717b27bd024cacc5d62187ef730b3d;p=thirdparty%2Fgnutls.git ULONG_MAX should be in limits.h, so include it at the right place. --- diff --git a/lib/defines.h b/lib/defines.h index 9ccfcfafea..a892ba1775 100644 --- a/lib/defines.h +++ b/lib/defines.h @@ -34,6 +34,7 @@ #include #include #include +#include #ifdef NO_SSIZE_T # define HAVE_SSIZE_T diff --git a/lib/gnutls_str.c b/lib/gnutls_str.c index b748a0d9b1..cbda764af2 100644 --- a/lib/gnutls_str.c +++ b/lib/gnutls_str.c @@ -26,9 +26,6 @@ #include #include #include -/* Solaris 2.9 doesn't have ULONG_MAX in stdlib.h, where it should be, - but it is in limits.h. */ -#include /* These function are like strcat, strcpy. They only * do bound checking (they shouldn't cause buffer overruns),