From: Vincent Bernat Date: Sat, 21 Jan 2012 10:30:23 +0000 (+0100) Subject: snmp: ensure single inclusion of agent.h header X-Git-Tag: 0.6.0~71 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f70081478cb1972a0b792f2226e07210d7df7f3e;p=thirdparty%2Flldpd.git snmp: ensure single inclusion of agent.h header --- 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