diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2010-09-07 19:32:58 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2010-09-07 19:32:58 +0000 |
commit | f54482a4612ef9f409e7ffe247b621ce90604d48 (patch) | |
tree | 5b3607cce310b087ac00db4bd36f7aaa5cb8a39f /compat.h | |
parent | afcc29a51d88745d8163fd7f53f596bb9a2a041f (diff) |
Solaris 9 has no stdint.h, ugh. Reported by a couple of people most
recently Timothy Larson.
Diffstat (limited to 'compat.h')
-rw-r--r-- | compat.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 <nicm@users.sourceforge.net> @@ -85,6 +85,12 @@ typedef uint64_t u_int64_t; #include <imsg.h> #endif +#ifdef HAVE_STDINT_H +#include <stdint.h> +#else +#include <inttypes.h> +#endif + #ifdef HAVE_BROKEN_CMSG_FIRSTHDR /* CMSG_FIRSTHDR broken on OS X. */ #undef CMSG_FIRSTHDR |