summaryrefslogtreecommitdiff
path: root/lib/getstr.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-11-17 13:29:42 +0000
committerJim Meyering <jim@meyering.net>2001-11-17 13:29:42 +0000
commit3eb2a22131f0a0680ad09637290bafdead77eda5 (patch)
tree2b359ac377d4b8b0558378c8a24bf739e8bcf257 /lib/getstr.c
parent1edeae648d12874bdc600fedcb04558e6a281f9a (diff)
downloadcoreutils-3eb2a22131f0a0680ad09637290bafdead77eda5.tar.xz
Include unlocked-io.h.
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