summaryrefslogtreecommitdiff
path: root/lib/linebuffer.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-10-04 20:17:39 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-10-04 20:17:39 +0000
commit917752adb19961999cd68c6c961efffe33c85141 (patch)
tree425bfa28f1f3290b2e55bf145f4d3d92bfab665a /lib/linebuffer.c
parent0259a3cf21ed6cdc578de653002918105b27d5bf (diff)
downloadgnulib-917752adb19961999cd68c6c961efffe33c85141.tar.gz
Remove dependencies on unlocked-io.
Diffstat (limited to 'lib/linebuffer.c')
-rw-r--r--lib/linebuffer.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/linebuffer.c b/lib/linebuffer.c
index 67d0f1fd7c..c12cdbd4a3 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 <string.h>
#include <sys/types.h>
#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