diff options
author | Christian Mauderer <Christian.Mauderer@embedded-brains.de> | 2016-07-05 16:31:43 +0200 |
---|---|---|
committer | Christian Mauderer <Christian.Mauderer@embedded-brains.de> | 2016-08-02 10:21:52 +0200 |
commit | d79524e4a7d58974402158c1c9625be230ead4c9 (patch) | |
tree | 40f7c50bff164ec013035ae2a7d545df7289d702 /freebsd/contrib/pf/pfctl/pfctl_radix.c | |
parent | pfctl: Use static where possible. (diff) | |
download | rtems-libbsd-d79524e4a7d58974402158c1c9625be230ead4c9.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 573d12b9..27e7b4bd 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__ */ |