aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2010-05-06 21:35:00 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2010-05-06 21:35:00 +0200
commit4eee16354b7aa2a818f561535cdd2f4dab61a2f8 (patch)
tree758b046dfc5db301b89f27801346445645c4341b
parent3baf4922e2036b81c9d25f6269c7cbd54f288b4d (diff)
downloadstrongswan-4eee16354b7aa2a818f561535cdd2f4dab61a2f8.tar.bz2
strongswan-4eee16354b7aa2a818f561535cdd2f4dab61a2f8.tar.xz
include state.h only once
-rw-r--r--src/pluto/state.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pluto/state.h b/src/pluto/state.h
index 35ffe5a5b..c4e8db485 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 <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
@@ -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 */