aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/bsnmpd/files/patch-lib__asn1.h
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/bsnmpd/files/patch-lib__asn1.h')
-rw-r--r--net-mgmt/bsnmpd/files/patch-lib__asn1.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-mgmt/bsnmpd/files/patch-lib__asn1.h b/net-mgmt/bsnmpd/files/patch-lib__asn1.h
new file mode 100644
index 000000000000..7ea606571d8f
--- /dev/null
+++ b/net-mgmt/bsnmpd/files/patch-lib__asn1.h
@@ -0,0 +1,13 @@
+--- lib/asn1.h.orig Tue Dec 2 18:52:37 2003
++++ lib/asn1.h Wed Sep 21 09:53:04 2005
+@@ -183,4 +183,10 @@
+ ASN_EXCEPT_ENDOFMIBVIEW = 0x02,
+ };
+
++#if !defined(__STDC_LIMIT_MACROS)
++#define INT32_MIN (-0x7fffffff-1)
++#define INT32_MAX 0x7fffffff
++#define UINT32_MAX 0xffffffffU
++#endif
++
+ #endif