From 4831944a2b4204c907018ad99fdaef2e48c604ad Mon Sep 17 00:00:00 2001 From: Christian Mauderer Date: Tue, 5 Jul 2016 16:31:43 +0200 Subject: pfctl: Adapt for RTEMS. --- freebsd/contrib/pf/pfctl/pfctl_radix.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'freebsd/contrib/pf/pfctl/pfctl_radix.c') diff --git a/freebsd/contrib/pf/pfctl/pfctl_radix.c b/freebsd/contrib/pf/pfctl/pfctl_radix.c index 7868489a..0a300470 100644 --- a/freebsd/contrib/pf/pfctl/pfctl_radix.c +++ b/freebsd/contrib/pf/pfctl/pfctl_radix.c @@ -32,6 +32,9 @@ * */ +#ifdef __rtems__ +#include +#endif /* __rtems__ */ #include __FBSDID("$FreeBSD$"); @@ -48,6 +51,9 @@ __FBSDID("$FreeBSD$"); #include #include #include +#ifdef __rtems__ +#define SIZE_T_MAX SIZE_MAX +#endif /* __rtems__ */ #include #include "pfctl.h" @@ -594,3 +600,6 @@ pfr_strerror(int errnum) return strerror(errnum); } } +#ifdef __rtems__ +#include "pfctl_radix-data.h" +#endif /* __rtems__ */ -- cgit v1.2.3