diff options
author | mlaier <mlaier@FreeBSD.org> | 2004-02-26 03:53:54 +0000 |
---|---|---|
committer | mlaier <mlaier@FreeBSD.org> | 2004-02-26 03:53:54 +0000 |
commit | 428f1c9a0fbaac94f9cce57cd846b2b6f82e17d1 (patch) | |
tree | aa20382749ac1e97a0e00869aaa3a69abbc95a34 /sys/sys/limits.h | |
parent | 94f1c2c12e72d156571a8216199086ba2d775312 (diff) | |
download | FreeBSD-src-428f1c9a0fbaac94f9cce57cd846b2b6f82e17d1.zip FreeBSD-src-428f1c9a0fbaac94f9cce57cd846b2b6f82e17d1.tar.gz |
Tweak existing header and other build infrastructure to be able to build
pf/pflog/pfsync as modules. Do not list them in NOTES or modules/Makefile
(i.e. do not connect it to any (automatic) builds - yet).
Approved by: bms(mentor)
Diffstat (limited to 'sys/sys/limits.h')
-rw-r--r-- | sys/sys/limits.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/limits.h b/sys/sys/limits.h index 752ccb0..8b4be2e 100644 --- a/sys/sys/limits.h +++ b/sys/sys/limits.h @@ -66,6 +66,9 @@ #define LONG_MAX __LONG_MAX /* max for a long */ #define LONG_MIN __LONG_MIN /* min for a long */ +#define UID_MAX UINT_MAX /* max value for a uid_t */ +#define GID_MAX UINT_MAX /* max value for a gid_t */ + #ifdef __LONG_LONG_SUPPORTED #define ULLONG_MAX __ULLONG_MAX /* max for an unsigned long long */ #define LLONG_MAX __LLONG_MAX /* max for a long long */ |