From 1d8cbfe75d1f5b1f2780c4976013c49fc6534c57 Mon Sep 17 00:00:00 2001 From: Ansa89 Date: Sun, 27 Mar 2016 10:20:41 +0200 Subject: [PATCH] NAT traversal: fix missing headers --- toxcore/nat_traversal.c | 1 + toxcore/nat_traversal.h | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/toxcore/nat_traversal.c b/toxcore/nat_traversal.c index 63d52262..cd61e29f 100644 --- a/toxcore/nat_traversal.c +++ b/toxcore/nat_traversal.c @@ -23,6 +23,7 @@ #endif #ifdef HAVE_LIBMINIUPNPC +#include #include #include #include diff --git a/toxcore/nat_traversal.h b/toxcore/nat_traversal.h index e622088f..a2944eb9 100644 --- a/toxcore/nat_traversal.h +++ b/toxcore/nat_traversal.h @@ -21,6 +21,10 @@ #ifndef NAT_TRAVERSAL_H #define NAT_TRAVERSAL_H +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include