1 From 6433c6e8d81313ec7ef6c8d3abf96fffa537e23e Mon Sep 17 00:00:00 2001
2 From: Luca Ceresoli <luca@lucaceresoli.net>
3 Date: Tue, 1 Apr 2014 14:35:25 +0200
4 Subject: [PATCH] Add missing includes
6 Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
8 include/snmp_pp/config_snmp_pp.h.in | 4 ++++
9 include/snmp_pp/smival.h | 1 +
10 2 files changed, 5 insertions(+)
12 diff --git a/include/snmp_pp/config_snmp_pp.h.in b/include/snmp_pp/config_snmp_pp.h.in
13 index 89a5b0d..3100713 100644
14 --- a/include/snmp_pp/config_snmp_pp.h.in
15 +++ b/include/snmp_pp/config_snmp_pp.h.in
17 #ifndef _CONFIG_SNMP_PP_H_
18 #define _CONFIG_SNMP_PP_H_
21 +#include <sys/socket.h>
24 #define SNMP_PP_VERSION_STRING "@VERSION@"
25 #define SNMP_PP_VERSION @SNMP_PP_MAJOR_VERSION@
26 #define SNMP_PP_RELEASE @SNMP_PP_MINOR_VERSION@
27 diff --git a/include/snmp_pp/smival.h b/include/snmp_pp/smival.h
28 index 7a36fab..7522087 100644
29 --- a/include/snmp_pp/smival.h
30 +++ b/include/snmp_pp/smival.h
34 //----[ includes ]-----------------------------------------------------
36 #include "snmp_pp/smi.h"
38 #ifdef SNMP_PP_NAMESPACE