diff options
-rw-r--r-- | include/asprintf.h | 2 | ||||
-rw-r--r-- | src/reverse_proxy.c | 1 |
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 @@ | |||
5 | #include <config.h> | 5 | #include <config.h> |
6 | #endif | 6 | #endif |
7 | 7 | ||
8 | #include <stdio.h> | ||
9 | |||
8 | #ifndef HAVE_VASPRINTF | 10 | #ifndef HAVE_VASPRINTF |
9 | static inline int vasprintf(char **PTR, const char *TEMPLATE, va_list AP) | 11 | static inline int vasprintf(char **PTR, const char *TEMPLATE, va_list AP) |
10 | { | 12 | { |
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 @@ | |||
35 | #include "lockdown.h" | 35 | #include "lockdown.h" |
36 | #include "common/debug.h" | 36 | #include "common/debug.h" |
37 | #include "endianness.h" | 37 | #include "endianness.h" |
38 | #include "asprintf.h" | ||
38 | 39 | ||
39 | #ifndef ECONNRESET | 40 | #ifndef ECONNRESET |
40 | #define ECONNRESET 108 | 41 | #define ECONNRESET 108 |