From 2e5664d2df02a902300f8f67b4eefe0309bde5b9 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 24 Mar 2017 10:05:53 +0000 Subject: Update imsg*.[ch] from OpenBSD, add some compat bits it needs and remove some bits it doesn't. --- compat/asprintf.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'compat/asprintf.c') diff --git a/compat/asprintf.c b/compat/asprintf.c index 2b53dbe2..95d78430 100644 --- a/compat/asprintf.c +++ b/compat/asprintf.c @@ -14,15 +14,14 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include + #include #include -#ifdef HAVE_STDINT_H -#include -#else -#include -#endif #include +#include "compat.h" + int asprintf(char **ret, const char *fmt, ...) { -- cgit