aboutsummaryrefslogtreecommitdiff
path: root/compat/asprintf.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2011-01-07 00:35:13 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2011-01-07 00:35:13 +0000
commitb463d3de54c5d940341968aee3307cb83e3629b8 (patch)
treefab8a9e68e640926a8f26b8fcf9bc0a7acc1b42c /compat/asprintf.c
parentf705c0e013607beff2e077673d56c04197f1db0a (diff)
downloadrtmux-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.c6
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"