From 1cc46fbf537a89aa60128e84b5973a831221220d Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 4 Oct 2004 20:18:43 +0000 Subject: Sync from gnulib, to remove dependencies of other modules on unlocked-io. --- lib/linebuffer.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'lib/linebuffer.c') diff --git a/lib/linebuffer.c b/lib/linebuffer.c index 67d0f1fd7..c12cdbd4a 100644 --- a/lib/linebuffer.c +++ b/lib/linebuffer.c @@ -1,7 +1,7 @@ /* linebuffer.c -- read arbitrarily long lines - Copyright (C) 1986, 1991, 1998, 1999, 2001, 2003 Free Software - Foundation, Inc. + Copyright (C) 1986, 1991, 1998, 1999, 2001, 2003, 2004 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 published by @@ -28,9 +28,12 @@ #include #include #include "linebuffer.h" -#include "unlocked-io.h" #include "xalloc.h" +#if USE_UNLOCKED_IO +# include "unlocked-io.h" +#endif + /* Initialize linebuffer LINEBUFFER for use. */ void -- cgit v1.2.3-54-g00ecf