From: Theodore Ts'o Date: Thu, 10 Jul 2014 19:54:42 +0000 (-0400) Subject: Use sys/syscall.h instead of syscall.h X-Git-Tag: v1.42.12~90 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=599915f080dc0f62a3e800c5bc8fe31ae8b45707;p=thirdparty%2Fe2fsprogs.git Use sys/syscall.h instead of syscall.h Most systems have a backwards compatibility symlink in /usr/include/syscall.h to /usr/include/sys/syscall.h, but sys/syscall.h is the documented location of the header file. Fix two locations where we were using instead of . Signed-off-by: Theodore Ts'o --- diff --git a/lib/blkid/llseek.c b/lib/blkid/llseek.c index 658acc97c..1cee34b41 100644 --- a/lib/blkid/llseek.c +++ b/lib/blkid/llseek.c @@ -36,7 +36,7 @@ #define my_llseek lseek64 #elif defined(HAVE_LLSEEK) -#include +#include #ifndef HAVE_LLSEEK_PROTOTYPE extern long long llseek(int fd, long long offset, int origin); diff --git a/lib/ext2fs/llseek.c b/lib/ext2fs/llseek.c index c3a98a2c3..2730f20be 100644 --- a/lib/ext2fs/llseek.c +++ b/lib/ext2fs/llseek.c @@ -37,7 +37,7 @@ #else #if defined(HAVE_LLSEEK) -#include +#include #ifndef HAVE_LLSEEK_PROTOTYPE extern long long llseek (int fd, long long offset, int origin);