From: Andreas Steffen Date: Thu, 6 May 2010 19:35:00 +0000 (+0200) Subject: include state.h only once X-Git-Tag: 4.4.1~284 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4eee16354b7aa2a818f561535cdd2f4dab61a2f8;p=thirdparty%2Fstrongswan.git include state.h only once --- diff --git a/src/pluto/state.h b/src/pluto/state.h index 35ffe5a5b8..c4e8db4850 100644 --- a/src/pluto/state.h +++ b/src/pluto/state.h @@ -14,6 +14,9 @@ * for more details. */ +#ifndef _STATE_H +#define _STATE_H + #include #include #include @@ -270,3 +273,5 @@ extern void fmt_state(bool all, struct state *st, time_t n , char *state_buf, size_t state_buf_len , char *state_buf2, size_t state_buf_len2); extern void delete_states_by_peer(ip_address *peer); + +#endif /* _STATE_H */