summaryrefslogtreecommitdiff
path: root/bsnmp
diff options
context:
space:
mode:
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 *);