From ac19c8509b35b15ad6bce3196f5ee48ea4a314cf Mon Sep 17 00:00:00 2001
From: Augustin Cavalier <waddlesplash@gmail.com>
Date: Mon, 7 Jan 2019 20:17:31 -0500
Subject: [PATCH] freebsd_network: Fix redefinition warning.

---
 src/libs/compat/freebsd_network/compat/sys/cdefs.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/libs/compat/freebsd_network/compat/sys/cdefs.h b/src/libs/compat/freebsd_network/compat/sys/cdefs.h
index 2996834ff1..6873e4d443 100644
--- a/src/libs/compat/freebsd_network/compat/sys/cdefs.h
+++ b/src/libs/compat/freebsd_network/compat/sys/cdefs.h
@@ -226,6 +226,7 @@
 /* XXX Find out what to do for __packed, __aligned and __section */
 #endif
 #if __GNUC_PREREQ__(2, 7) || defined(__INTEL_COMPILER)
+#undef __dead2
 #define	__dead2		__attribute__((__noreturn__))
 #define	__pure2		__attribute__((__const__))
 #define	__unused	__attribute__((__unused__))