summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2005-12-08 18:28:27 +0000
committerSimon Josefsson <simon@josefsson.org>2005-12-08 18:28:27 +0000
commit87bfff8444fc9e645f1a3f801be3c872b8c97ddf (patch)
tree3756fda4cff80cf3cde8b3c07fcc9f04499951bb
parented9742fa6d6c1ac9df113a8cd9e583330769fec7 (diff)
downloadgnutls-87bfff8444fc9e645f1a3f801be3c872b8c97ddf.tar.gz
Fix.
-rw-r--r--lib/gnutls_str.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/gnutls_str.c b/lib/gnutls_str.c
index cbda764af2..b748a0d9b1 100644
--- a/lib/gnutls_str.c
+++ b/lib/gnutls_str.c
@@ -26,6 +26,9 @@
#include <gnutls_errors.h>
#include <gnutls_num.h>
#include <gnutls_str.h>
+/* Solaris 2.9 doesn't have ULONG_MAX in stdlib.h, where it should be,
+ but it is in limits.h. */
+#include <limits.h>
/* These function are like strcat, strcpy. They only
* do bound checking (they shouldn't cause buffer overruns),