diff options
author | Jakob Kaivo <jkk@ung.org> | 2020-08-15 21:32:52 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2020-08-15 21:32:52 -0400 |
commit | 3448597bff1103d603a611f5df29ce5a91466126 (patch) | |
tree | 63dec4cdd6c4eb55ee3180f49bf10eda6a2b4217 /src | |
parent | 3946c490f6d410f91c08884aae912faec70f1e34 (diff) |
pull in _POSIX2_LINE_MAX if needed
Diffstat (limited to 'src')
-rw-r--r-- | src/grp/getgrent.c | 3 | ||||
-rw-r--r-- | src/pwd/getpwent.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/grp/getgrent.c b/src/grp/getgrent.c index b71b1549..3046d040 100644 --- a/src/grp/getgrent.c +++ b/src/grp/getgrent.c @@ -9,6 +9,9 @@ #include "_grp.h" #ifndef LINE_MAX +#ifndef _POSIX2_LINE_MAX +#include "limits/_POSIX2_LINE_MAX.c" +#endif #define LINE_MAX _POSIX2_LINE_MAX #endif diff --git a/src/pwd/getpwent.c b/src/pwd/getpwent.c index c2718692..675f8aa3 100644 --- a/src/pwd/getpwent.c +++ b/src/pwd/getpwent.c @@ -9,6 +9,9 @@ #include "_pwd.h" #ifndef LINE_MAX +#ifndef _POSIX2_LINE_MAX +#include "limits/_POSIX2_LINE_MAX.c" +#endif #define LINE_MAX _POSIX2_LINE_MAX #endif |