1From 7f01847d14a1a3af50f49499743b0551ddef1311 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 29 Mar 2017 23:54:01 -0700
4Subject: [PATCH 8/8] include sysdep.h before net/if_tun.h
5
6Fixes duplicate defines in header errors
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 sysdep.c | 3 ++-
11 1 file changed, 2 insertions(+), 1 deletion(-)
12
13diff --git a/sysdep.c b/sysdep.c
14index 2518ec1..5624ef1 100644
15--- a/sysdep.c
16+++ b/sysdep.c
17@@ -57,6 +57,8 @@
18 #include <sys/cygwin.h>
19 #endif
20
21+#include "sysdep.h"
22+
23 #if defined(__DragonFly__)
24 #include <net/tun/if_tun.h>
25 #elif defined(__linux__)
26@@ -69,7 +71,6 @@
27 #include <net/if_tun.h>
28 #endif
29
30-#include "sysdep.h"
31
32 #if !defined(HAVE_VASPRINTF) || !defined(HAVE_ASPRINTF) || !defined(HAVE_ERROR)
33 #include <stdarg.h>
34--
352.12.1
36
37