summaryrefslogtreecommitdiffstats
path: root/net-mgmt/bsnmpd/files/patch-lib__support.h
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/bsnmpd/files/patch-lib__support.h')
-rw-r--r--net-mgmt/bsnmpd/files/patch-lib__support.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-mgmt/bsnmpd/files/patch-lib__support.h b/net-mgmt/bsnmpd/files/patch-lib__support.h
new file mode 100644
index 0000000..1d9dd4c
--- /dev/null
+++ b/net-mgmt/bsnmpd/files/patch-lib__support.h
@@ -0,0 +1,16 @@
+--- 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;
OpenPOWER on IntegriCloud