summaryrefslogtreecommitdiff
path: root/lib/getstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/getstr.c')
-rw-r--r--lib/getstr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/getstr.c b/lib/getstr.c
index 66e44fe6f..98c4ac865 100644
--- a/lib/getstr.c
+++ b/lib/getstr.c
@@ -1,6 +1,6 @@
/* getstr.c -- core function for GNU C library getline replacement function
- Copyright (C) 1993, 1996-2000 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1996-2001 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -33,6 +33,8 @@
char *malloc (), *realloc ();
#endif
+#include "unlocked-io.h"
+
/* Always add at least this many bytes when extending the buffer. */
#define MIN_CHUNK 64