From 0ba419717b884465a34241f106a71ffc5ec18267 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 24 Oct 2016 08:07:56 +0200 Subject: Add SIZE_T_MAX to --- freebsd/contrib/pf/pfctl/pfctl_radix.c | 3 --- freebsd/sbin/dhclient/privsep.c | 3 --- 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 #include #include -#ifdef __rtems__ -#define SIZE_T_MAX SIZE_MAX -#endif /* __rtems__ */ #include #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 */ -- cgit v1.2.3