From f54482a4612ef9f409e7ffe247b621ce90604d48 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 7 Sep 2010 19:32:58 +0000 Subject: Solaris 9 has no stdint.h, ugh. Reported by a couple of people most recently Timothy Larson. --- compat.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'compat.h') diff --git a/compat.h b/compat.h index 3db11bc0..90758165 100644 --- a/compat.h +++ b/compat.h @@ -1,4 +1,4 @@ -/* $Id: compat.h,v 1.25 2010-06-06 13:00:46 tcunha Exp $ */ +/* $Id: compat.h,v 1.26 2010-09-07 19:32:58 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -85,6 +85,12 @@ typedef uint64_t u_int64_t; #include #endif +#ifdef HAVE_STDINT_H +#include +#else +#include +#endif + #ifdef HAVE_BROKEN_CMSG_FIRSTHDR /* CMSG_FIRSTHDR broken on OS X. */ #undef CMSG_FIRSTHDR -- cgit v1.2.3