]> mj.ucw.cz Git - libucw.git/commitdiff
#include <errno.h>
authorMartin Mares <mj@ucw.cz>
Wed, 6 Dec 2000 15:01:24 +0000 (15:01 +0000)
committerMartin Mares <mj@ucw.cz>
Wed, 6 Dec 2000 15:01:24 +0000 (15:01 +0000)
lib/lfs.h

index 1b232119a1c3afced467b2d44b64fa288cf6a87e..f12f5ef37e99e1014df6ec3cfbf2f7a46bf5163c 100644 (file)
--- a/lib/lfs.h
+++ b/lib/lfs.h
@@ -122,6 +122,7 @@ static int sh_pwrite(unsigned int fd, void *buf, size_t size, loff_t where)
 #elif defined(i386)
 /* old libc on i386 -> call syscalls directly the old way */
 #include <asm/unistd.h>
+#include <errno.h>
 static _syscall4(int, pread, unsigned int, fd, void *, buf, size_t, size, loff_t, where);
 static _syscall4(int, pwrite, unsigned int, fd, void *, buf, size_t, size, loff_t, where);
 #define sh_pread pread