diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2011-01-07 00:35:13 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2011-01-07 00:35:13 +0000 |
commit | b463d3de54c5d940341968aee3307cb83e3629b8 (patch) | |
tree | fab8a9e68e640926a8f26b8fcf9bc0a7acc1b42c /compat/asprintf.c | |
parent | f705c0e013607beff2e077673d56c04197f1db0a (diff) | |
download | rtmux-b463d3de54c5d940341968aee3307cb83e3629b8.tar.gz rtmux-b463d3de54c5d940341968aee3307cb83e3629b8.tar.bz2 rtmux-b463d3de54c5d940341968aee3307cb83e3629b8.zip |
Missing HAVE_STDINT_H.
Diffstat (limited to 'compat/asprintf.c')
-rw-r--r-- | compat/asprintf.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/compat/asprintf.c b/compat/asprintf.c index 41ae64a7..d5f50e85 100644 --- a/compat/asprintf.c +++ b/compat/asprintf.c @@ -1,4 +1,4 @@ -/* $Id: asprintf.c,v 1.4 2008-09-26 06:45:28 nicm Exp $ */ +/* $Id: asprintf.c,v 1.5 2011-01-07 00:35:13 nicm Exp $ */ /* * Copyright (c) 2006 Nicholas Marriott <nicm@users.sourceforge.net> @@ -18,7 +18,11 @@ #include <stdarg.h> #include <stdio.h> +#ifdef HAVE_STDINT_H #include <stdint.h> +#else +#include <inttypes.h> +#endif #include <string.h> #include "tmux.h" |