summaryrefslogtreecommitdiff
path: root/bsnmp
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2009-10-24 14:10:25 +0000
committerStef Walter <stef@memberwebs.com>2009-10-24 14:10:25 +0000
commit9145a2db71a85064aa6a198c44da3cf753241131 (patch)
treefaa3a1a60475f9e6810a3f6618593d430cc61511 /bsnmp
parent082ac8f970f9c2cb244ffccc7b382b259e7b4f69 (diff)
Fixes for OpenSolaris 0906
Diffstat (limited to 'bsnmp')
-rw-r--r--bsnmp/snmppriv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bsnmp/snmppriv.h b/bsnmp/snmppriv.h
index 87ef60e..fb6dea8 100644
--- a/bsnmp/snmppriv.h
+++ b/bsnmp/snmppriv.h
@@ -30,7 +30,11 @@
*
* Private functions.
*/
+#include "config.h"
+
+#ifdef HAVE_SYS_CDEFS_H
#include <sys/cdefs.h>
+#endif
enum asn_err snmp_binding_encode(struct asn_buf *, const struct snmp_value *);
enum snmp_code snmp_pdu_encode_header(struct asn_buf *, struct snmp_pdu *);