6b13f685e
김민수
BSP 최초 추가
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
From 6433c6e8d81313ec7ef6c8d3abf96fffa537e23e Mon Sep 17 00:00:00 2001
From: Luca Ceresoli <luca@lucaceresoli.net>
Date: Tue, 1 Apr 2014 14:35:25 +0200
Subject: [PATCH] Add missing includes
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
---
include/snmp_pp/config_snmp_pp.h.in | 4 ++++
include/snmp_pp/smival.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/include/snmp_pp/config_snmp_pp.h.in b/include/snmp_pp/config_snmp_pp.h.in
index 89a5b0d..3100713 100644
--- a/include/snmp_pp/config_snmp_pp.h.in
+++ b/include/snmp_pp/config_snmp_pp.h.in
@@ -28,6 +28,10 @@
#ifndef _CONFIG_SNMP_PP_H_
#define _CONFIG_SNMP_PP_H_
+#ifdef __linux__
+#include <sys/socket.h>
+#endif
+
#define SNMP_PP_VERSION_STRING "@VERSION@"
#define SNMP_PP_VERSION @SNMP_PP_MAJOR_VERSION@
#define SNMP_PP_RELEASE @SNMP_PP_MINOR_VERSION@
diff --git a/include/snmp_pp/smival.h b/include/snmp_pp/smival.h
index 7a36fab..7522087 100644
--- a/include/snmp_pp/smival.h
+++ b/include/snmp_pp/smival.h
@@ -59,6 +59,7 @@
#define _SMIVALUE
//----[ includes ]-----------------------------------------------------
+#include <string.h>
#include "snmp_pp/smi.h"
#ifdef SNMP_PP_NAMESPACE
--
1.8.3.2
|