diff options
Diffstat (limited to 'net-mgmt/net-snmp-devel/files/patch-snmpusm.c')
-rw-r--r-- | net-mgmt/net-snmp-devel/files/patch-snmpusm.c | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/net-mgmt/net-snmp-devel/files/patch-snmpusm.c b/net-mgmt/net-snmp-devel/files/patch-snmpusm.c index 7b0ced219ae5..4eae56c1a0f0 100644 --- a/net-mgmt/net-snmp-devel/files/patch-snmpusm.c +++ b/net-mgmt/net-snmp-devel/files/patch-snmpusm.c @@ -1,6 +1,16 @@ ---- snmplib/snmpusm.c.orig Wed Dec 8 19:32:52 2004 -+++ snmplib/snmpusm.c Wed Dec 8 19:33:30 2004 -@@ -89,6 +89,8 @@ +--- snmplib/snmpusm.c.orig Thu Sep 16 07:57:47 2004 ++++ snmplib/snmpusm.c Tue Jan 25 10:23:02 2005 +@@ -54,6 +54,9 @@ + #include <netinet/in.h> + #endif + ++#if HAVE_UNISTD_H ++#include <unistd.h> ++#endif + #if HAVE_DMALLOC_H + #include <dmalloc.h> + #endif +@@ -89,6 +92,8 @@ oid usmAESPrivProtocol[10] = { 1, 3, 6, 1, 6, 3, 10, 1, 2, 4 }; /* backwards compat */ oid *usmAES128PrivProtocol = usmAESPrivProtocol; |