Skip to content

Commit 9e83513

Browse files
committed
tst_device.h: Use lapi/syscalls.h instead of <sys/syscall.h>
As a fallback for old distros which does not define __NR_syncfs (the dependency is in the library itself). This was needed on SLES 11 (kernel 2.6.32). Fixes: 74aeb88 ("tst_device: use raw syscall in the tst_device.h") Acked-by: Jan Stancek <[email protected]> Signed-off-by: Petr Vorel <[email protected]>
1 parent 2c14d95 commit 9e83513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/tst_device.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#define TST_DEVICE_H__
2020

2121
#include <unistd.h>
22-
#include <sys/syscall.h>
22+
#include "lapi/syscalls.h"
2323

2424
struct tst_device {
2525
const char *dev;

0 commit comments

Comments
 (0)