1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-06 01:57:40 +00:00
freebsd-ports/net-mgmt/bsnmpd/files/patch-lib__support.h
Erwin Lansing 7684360845 Update to 1.12
PR:		96285
Submitted by:	"Andrey V. Elsukov" <bu7cher@yandex.ru> (maintainer)
2006-04-26 07:45:09 +00:00

17 lines
427 B
C

--- lib/support.h Mon Feb 27 13:03:16 2006
+++ lib/support.h Fri Apr 21 22:14:27 2006
@@ -36,6 +36,13 @@
#include <sys/cdefs.h>
+#ifndef HAVE_MIB_LINKSTATE
+#include <net/if_media.h>
+#define LINK_STATE_UNKNOWN 0
+#define LINK_STATE_DOWN 1
+#define LINK_STATE_UP 2
+#endif
+
#ifndef HAVE_ERR_H
void err(int, const char *, ...) __printflike(2, 3) __dead2;
void errx(int, const char *, ...) __printflike(2, 3) __dead2;