summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-06-30 04:24:26 +0000
committerJim Meyering <jim@meyering.net>1996-06-30 04:24:26 +0000
commit23b80c8e30a298b1f001b5fff7911fc95c1864a4 (patch)
tree0be8c438cf05552d4f50d4ab683af9f1737591fe /lib
parent3b92bd009001cf636954deb644ee5f31fd348060 (diff)
downloadcoreutils-23b80c8e30a298b1f001b5fff7911fc95c1864a4.tar.xz
.
Diffstat (limited to 'lib')
-rw-r--r--lib/getline.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/getline.c b/lib/getline.c
index e95aace34..6757dee12 100644
--- a/lib/getline.c
+++ b/lib/getline.c
@@ -1,6 +1,6 @@
/* getline.c -- Replacement for GNU C library function getline
-Copyright (C) 1993 Free Software Foundation, Inc.
+Copyright (C) 1993, 1996 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
@@ -22,6 +22,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
# include <config.h>
#endif
+/* The `getdelim' function is only declared if there following symbol
+ is defined. */
+#define _GNU_SOURCE 1
#include <stdio.h>
#include <sys/types.h>