mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-22 18:25:35 +08:00
dhclient: Avoid SIZE_T_MAX
Use SIZE_MAX instead of SIZE_T_MAX to avoid a dependency on BSD specifics.
This commit is contained in:
parent
68bf405e98
commit
87bff39d34
@ -23,6 +23,9 @@ __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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user