# HG changeset patch # User Jim Meyering # Date 836108666 0 # Node ID 95afd8c1d5d7a04b84fa0a7d23b366a186a7d4a1 # Parent 3631c8cdc31d15fba51cf320ec8561d7905ba564 . diff --git a/lib/getline.c b/lib/getline.c --- 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 @@ # include #endif +/* The `getdelim' function is only declared if there following symbol + is defined. */ +#define _GNU_SOURCE 1 #include #include