diff options
-rw-r--r-- | freebsd/contrib/pf/pfctl/pfctl_radix.c | 3 | ||||
-rw-r--r-- | freebsd/sbin/dhclient/privsep.c | 3 | ||||
-rw-r--r-- | rtemsbsd/include/machine/rtems-bsd-user-space.h | 2 |
3 files changed, 2 insertions, 6 deletions
diff --git a/freebsd/contrib/pf/pfctl/pfctl_radix.c b/freebsd/contrib/pf/pfctl/pfctl_radix.c index 27e7b4bd..cc5b0acd 100644 --- a/freebsd/contrib/pf/pfctl/pfctl_radix.c +++ b/freebsd/contrib/pf/pfctl/pfctl_radix.c @@ -51,9 +51,6 @@ __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" diff --git a/freebsd/sbin/dhclient/privsep.c b/freebsd/sbin/dhclient/privsep.c index d5198fa2..7b68059a 100644 --- a/freebsd/sbin/dhclient/privsep.c +++ b/freebsd/sbin/dhclient/privsep.c @@ -23,9 +23,6 @@ __FBSDID("$FreeBSD$"); #include "dhcpd.h" #include "privsep.h" -#ifdef __rtems__ -#define SIZE_T_MAX SIZE_MAX -#endif /* __rtems__ */ struct buf * buf_open(size_t len) diff --git a/rtemsbsd/include/machine/rtems-bsd-user-space.h b/rtemsbsd/include/machine/rtems-bsd-user-space.h index b57a3ff9..ef7c592a 100644 --- a/rtemsbsd/include/machine/rtems-bsd-user-space.h +++ b/rtemsbsd/include/machine/rtems-bsd-user-space.h @@ -61,6 +61,8 @@ #define CLOCK_MONOTONIC_FAST CLOCK_MONOTONIC #endif +#define SIZE_T_MAX SIZE_MAX + __BEGIN_DECLS /* FIXME: Add to Newlib */ |