diff options
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" |