summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/asprintf.h2
-rw-r--r--src/reverse_proxy.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/asprintf.h b/include/asprintf.h
index ce26aed..3ed35be 100644
--- a/include/asprintf.h
+++ b/include/asprintf.h
@@ -5,6 +5,8 @@
#include <config.h>
#endif
+#include <stdio.h>
+
#ifndef HAVE_VASPRINTF
static inline int vasprintf(char **PTR, const char *TEMPLATE, va_list AP)
{
diff --git a/src/reverse_proxy.c b/src/reverse_proxy.c
index ae8e9f5..3f0a839 100644
--- a/src/reverse_proxy.c
+++ b/src/reverse_proxy.c
@@ -35,6 +35,7 @@
#include "lockdown.h"
#include "common/debug.h"
#include "endianness.h"
+#include "asprintf.h"
#ifndef ECONNRESET
#define ECONNRESET 108