summaryrefslogtreecommitdiffstats
path: root/ipsec-tools/src/racoon/genlist.c
diff options
context:
space:
mode:
authorChristian Mauderer <christian.mauderer@embedded-brains.de>2018-05-03 14:15:11 +0200
committerChristian Mauderer <christian.mauderer@embedded-brains.de>2018-08-02 10:25:37 +0200
commitb376ae131d9e99a90ddbee2015a2e19d67244ba1 (patch)
treed8a5fd2c217baae5ab62579f02fb8401fef8f22a /ipsec-tools/src/racoon/genlist.c
parentipsec-tools: Apply patches from FreeBSD ports. (diff)
downloadrtems-libbsd-b376ae131d9e99a90ddbee2015a2e19d67244ba1.tar.bz2
ipsec-tools: Port libipsec, setkey and racoon.
Note that this replaces the libipsec from FreeBSD with the one provided by ipsec-tools.
Diffstat (limited to 'ipsec-tools/src/racoon/genlist.c')
-rw-r--r--ipsec-tools/src/racoon/genlist.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/ipsec-tools/src/racoon/genlist.c b/ipsec-tools/src/racoon/genlist.c
index b5204c00..a6965ce4 100644
--- a/ipsec-tools/src/racoon/genlist.c
+++ b/ipsec-tools/src/racoon/genlist.c
@@ -1,3 +1,9 @@
+#include <machine/rtems-bsd-user-space.h>
+#ifdef __rtems__
+#include <machine/rtems-bsd-program.h>
+#include "rtems-bsd-racoon-namespace.h"
+#endif /* __rtems__ */
+
/* $NetBSD: genlist.c,v 1.4 2006/09/09 16:22:09 manu Exp $ */
/* Id: genlist.c,v 1.2 2004/07/12 20:43:50 ludvigm Exp */
@@ -172,3 +178,6 @@ int main()
return 0;
}
#endif
+#ifdef __rtems__
+#include "rtems-bsd-racoon-genlist-data.h"
+#endif /* __rtems__ */