diff options
-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 |