From 599915f080dc0f62a3e800c5bc8fe31ae8b45707 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Thu, 10 Jul 2014 15:54:42 -0400 Subject: [PATCH] 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 --- lib/blkid/llseek.c | 2 +- lib/ext2fs/llseek.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.47.3