summaryrefslogtreecommitdiff
path: root/net/ruby-snmp
diff options
context:
space:
mode:
Diffstat (limited to 'net/ruby-snmp')
-rw-r--r--net/ruby-snmp/files/patch-mib.c9
-rw-r--r--net/ruby-snmp/files/patch-snmp.c9
2 files changed, 18 insertions, 0 deletions
diff --git a/net/ruby-snmp/files/patch-mib.c b/net/ruby-snmp/files/patch-mib.c
new file mode 100644
index 000000000000..48eea59ab40d
--- /dev/null
+++ b/net/ruby-snmp/files/patch-mib.c
@@ -0,0 +1,9 @@
+--- mib.c.orig Mon Jul 10 19:18:51 2000
++++ mib.c Sat Mar 30 19:15:41 2002
+@@ -1,4 +1,6 @@
+ #include <sys/types.h>
++#include <netinet/in.h>
++
+ #ifdef HAVE_UCD_SNMP_TOOLS_H
+ #include <ucd-snmp/tools.h>
+ #endif
diff --git a/net/ruby-snmp/files/patch-snmp.c b/net/ruby-snmp/files/patch-snmp.c
new file mode 100644
index 000000000000..248dc2a04db5
--- /dev/null
+++ b/net/ruby-snmp/files/patch-snmp.c
@@ -0,0 +1,9 @@
+--- snmp.c.orig Mon Jul 10 19:18:51 2000
++++ snmp.c Sat Mar 30 19:15:26 2002
+@@ -1,5 +1,6 @@
+ #include <errno.h>
+ #include <sys/types.h>
++#include <netinet/in.h>
+
+ #ifdef HAVE_UCD_SNMP_TOOLS_H
+ #include <ucd-snmp/tools.h>