]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
Use sys/syscall.h instead of syscall.h
authorTheodore Ts'o <tytso@mit.edu>
Thu, 10 Jul 2014 19:54:42 +0000 (15:54 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 10 Jul 2014 19:54:42 +0000 (15:54 -0400)
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 <syscall.h> instead of <sys/syscall.h>.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/blkid/llseek.c
lib/ext2fs/llseek.c

index 658acc97cabcb61a3632aefc97b6c24c5683552e..1cee34b41a462a08d60b50131dac25bd887fe91b 100644 (file)
@@ -36,7 +36,7 @@
 #define my_llseek lseek64
 
 #elif defined(HAVE_LLSEEK)
-#include <syscall.h>
+#include <sys/syscall.h>
 
 #ifndef HAVE_LLSEEK_PROTOTYPE
 extern long long llseek(int fd, long long offset, int origin);
index c3a98a2c3cf20a94d328c67bf3e9873ae266c90d..2730f20be3512bab9ddb97531fde5a146cd6e7ab 100644 (file)
@@ -37,7 +37,7 @@
 
 #else
 #if defined(HAVE_LLSEEK)
-#include <syscall.h>
+#include <sys/syscall.h>
 
 #ifndef HAVE_LLSEEK_PROTOTYPE
 extern long long llseek (int fd, long long offset, int origin);