From 5313d2d78ca150515f7f5eb39801c100690b6b29 Mon Sep 17 00:00:00 2001 From: Yves-Alexis Perez Date: Fri, 1 Nov 2013 13:32:07 +0100 Subject: Imported Upstream version 5.1.1 --- src/conftest/hooks/reset_seq.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/conftest/hooks') diff --git a/src/conftest/hooks/reset_seq.c b/src/conftest/hooks/reset_seq.c index 100977324..a77b10eee 100644 --- a/src/conftest/hooks/reset_seq.c +++ b/src/conftest/hooks/reset_seq.c @@ -36,6 +36,10 @@ #include "hook.h" +/* this hook is currently only supported on Linux (systems like FreeBSD don't + * actually provide an interface to change the sequence numbers of SAs) */ +#ifdef __linux__ + #include #include #include @@ -214,3 +218,5 @@ hook_t *reset_seq_hook_create(char *name) return &this->hook; } + +#endif /* __linux__ */ -- cgit v1.2.3