aboutsummaryrefslogtreecommitdiff
path: root/stdio/getdelim.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio/getdelim.c')
-rw-r--r--stdio/getdelim.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stdio/getdelim.c b/stdio/getdelim.c
index 8047c1fe0c..2cdb95c2a6 100644
--- a/stdio/getdelim.c
+++ b/stdio/getdelim.c
@@ -22,6 +22,7 @@ Cambridge, MA 02139, USA. */
#include <stdlib.h>
#include <string.h>
#include <limits.h>
+#include <errno.h>
/* Read up to (and including) a TERMINATOR from STREAM into *LINEPTR
(and null-terminate it). *LINEPTR is a pointer returned from malloc (or