summaryrefslogtreecommitdiff
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
commit876cbb501793eabdc8565159d18292af560c5016 (patch)
tree0f86322e8ddb8038a301d7480aae741055b6a2dd
parent93f802eb07fb1dc714bbd06659e89f3e6f6f7ff2 (diff)
downloadgnulib-876cbb501793eabdc8565159d18292af560c5016.tar.gz
-rw-r--r--lib/getline.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/getline.c b/lib/getline.c
index e95aace343..6757dee121 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>