#include "asm/unistd_64.h" // for __NR_fsync #include // for __syscall_1, syscall int fsync(int fildes) { return syscall(fsync, fildes); }