openbsd-ports/net/lldpd/patches/patch-src_daemon_priv_c
2019-06-16 19:18:48 +00:00

16 lines
385 B
Plaintext

$OpenBSD: patch-src_daemon_priv_c,v 1.4 2019/06/16 19:18:48 sthen Exp $
Index: src/daemon/priv.c
--- src/daemon/priv.c.orig
+++ src/daemon/priv.c
@@ -46,6 +46,9 @@
#if defined HOST_OS_FREEBSD || HOST_OS_OSX || HOST_OS_DRAGONFLY
# include <net/if_dl.h>
#endif
+#if defined HOST_OS_OPENBSD
+# include <limits.h>
+#endif
#if defined HOST_OS_SOLARIS
# include <sys/sockio.h>
#endif