diff options
author | Christian Mauderer <Christian.Mauderer@embedded-brains.de> | 2016-07-05 16:31:43 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-08-03 14:13:18 +0200 |
commit | 4831944a2b4204c907018ad99fdaef2e48c604ad (patch) | |
tree | 71a4fd670d503c4632e2244cc40c569d860fb1e2 /freebsd/contrib/pf/pfctl/pfctl_radix.c | |
parent | pfctl: Use static where possible. (diff) | |
download | rtems-libbsd-4831944a2b4204c907018ad99fdaef2e48c604ad.tar.bz2 |
pfctl: Adapt for RTEMS.
Diffstat (limited to 'freebsd/contrib/pf/pfctl/pfctl_radix.c')
-rw-r--r-- | freebsd/contrib/pf/pfctl/pfctl_radix.c | 9 |
1 files changed, 9 insertions, 0 deletions
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 <machine/rtems-bsd-program.h> +#endif /* __rtems__ */ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); @@ -48,6 +51,9 @@ __FBSDID("$FreeBSD$"); #include <stdio.h> #include <stdlib.h> #include <limits.h> +#ifdef __rtems__ +#define SIZE_T_MAX SIZE_MAX +#endif /* __rtems__ */ #include <err.h> #include "pfctl.h" @@ -594,3 +600,6 @@ pfr_strerror(int errnum) return strerror(errnum); } } +#ifdef __rtems__ +#include "pfctl_radix-data.h" +#endif /* __rtems__ */ |