openbsd-ports/net/zabbix/patches/patch-include_sysinc_h
2018-10-26 06:57:21 +00:00

18 lines
436 B
Plaintext

$OpenBSD: patch-include_sysinc_h,v 1.5 2018/10/26 06:57:21 robert Exp $
quick hack to fix building following if.h split; should really have an
autoconf check for it but that's harder because AC_CHECK_HEADERS isn't enough
for this file
Index: include/sysinc.h
--- include/sysinc.h.orig
+++ include/sysinc.h
@@ -305,6 +305,7 @@
#ifdef HAVE_NET_IF_H
# include <net/if.h>
+# include <net/if_var.h>
#endif
#ifdef HAVE_NET_IF_MIB_H