summaryrefslogtreecommitdiff
path: root/src/pwd
diff options
context:
space:
mode:
Diffstat (limited to 'src/pwd')
-rw-r--r--src/pwd/getpwent.c3
1 files changed, 3 insertions, 0 deletions
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