summaryrefslogtreecommitdiff
path: root/RaA32.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2010-05-06 15:38:01 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-05-07 09:27:29 -0700
commit1b22d07fc1268e7c5343cccd562ab69a101baf91 (patch)
treee28be2ef87c842aceaa9ae695b877df853922c03 /RaA32.c
parent30e388a8284ed100893983178acb6b4e3ff2b815 (diff)
Use stdint.h instead of limits.h for UINT*_MAX definitionsHEADmaster
While Solaris allows either one, C99 only requires them in stdint.h and some platforms don't include them via limits.h Corrects tinderbox reported errors on Fedora 11 build machine: http://tinderbox.x.org/builds/2010-05-06-0019/logs/libXdmcp/#build AA32.c: In function 'XdmcpAllocARRAY32': AA32.c:47: error: 'UINT8_MAX' undeclared (first use in this function) AA8.c: In function 'XdmcpAllocARRAY8': AA8.c:47: error: 'UINT16_MAX' undeclared (first use in this function) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Compiles clean on GNU/Linux AMD64 Tested-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'RaA32.c')
-rw-r--r--RaA32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/RaA32.c b/RaA32.c
index 93037e3..0c10641 100644
--- a/RaA32.c
+++ b/RaA32.c
@@ -36,7 +36,7 @@ in this Software without prior written authorization from The Open Group.
#include <X11/X.h>
#include <X11/Xmd.h>
#include <X11/Xdmcp.h>
-#include <limits.h>
+#include <stdint.h>
int
XdmcpReallocARRAY32 (ARRAY32Ptr array, int length)