From f70081478cb1972a0b792f2226e07210d7df7f3e Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 21 Jan 2012 11:30:23 +0100 Subject: [PATCH] snmp: ensure single inclusion of agent.h header --- src/agent.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/agent.h b/src/agent.h index 46b7f90f..8a9f1d24 100644 --- a/src/agent.h +++ b/src/agent.h @@ -14,6 +14,9 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifndef _AGENT_H +#define _AGENT_H + #include #include #include @@ -21,3 +24,5 @@ static oid lldp_oid[] = {1, 0, 8802, 1, 1, 2}; size_t agent_lldp_vars_size(void); + +#endif -- 2.39.5