]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
ULONG_MAX should be in limits.h, so include it at the right place.
authorSimon Josefsson <simon@josefsson.org>
Fri, 9 Dec 2005 11:06:57 +0000 (11:06 +0000)
committerSimon Josefsson <simon@josefsson.org>
Fri, 9 Dec 2005 11:06:57 +0000 (11:06 +0000)
lib/defines.h
lib/gnutls_str.c

index 9ccfcfafea0c5c8443f889ab11cef3075dd8cd06..a892ba1775c8b93d2d16a0d6ae29e5af0b4fa742 100644 (file)
@@ -34,6 +34,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <ctype.h>
+#include <limits.h>
 
 #ifdef NO_SSIZE_T
 # define HAVE_SSIZE_T
index b748a0d9b1f757ac1750f0bac4ce8a2e6b00a93c..cbda764af2a9b91872ff83112596226f133db851 100644 (file)
@@ -26,9 +26,6 @@
 #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),