about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-07-13 13:18:44 +0000
committerAndreas Jaeger <aj@suse.de>2001-07-13 13:18:44 +0000
commitc9f10034f712b38aabb02b73b59d8b267594bab0 (patch)
treefbc2889b97c19f7a047dfb416115c318aecc8ef8
parent0a3b7e6a274a957e4c26a9ed2118dfd89470121c (diff)
downloadglibc-c9f10034f712b38aabb02b73b59d8b267594bab0.tar.gz
glibc-c9f10034f712b38aabb02b73b59d8b267594bab0.tar.xz
glibc-c9f10034f712b38aabb02b73b59d8b267594bab0.zip
Include unistd.h for lseek64 prototype. Closes PR libc/2372.
-rw-r--r--libio/fileops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libio/fileops.c b/libio/fileops.c
index 36ee119e04..03f71d71c0 100644
--- a/libio/fileops.c
+++ b/libio/fileops.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1995, 1997-1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995, 1997-2000, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Written by Per Bothner <bothner@cygnus.com>.
 
@@ -36,6 +36,7 @@
 #include <sys/stat.h>
 #include <string.h>
 #include <errno.h>
+#include <unistd.h>
 #ifdef __STDC__
 #include <stdlib.h>
 #endif