missing_syscall: drop more defs below our kernel baseline

This commit is contained in:
Mike Yuan
2025-02-09 14:51:03 +01:00
parent 6f271fafc3
commit 0f633e5257
3 changed files with 1 additions and 10 deletions
-9
View File
@@ -5,11 +5,7 @@
#include <errno.h>
#include <fcntl.h>
#if HAVE_LINUX_TIME_TYPES_H
/* This header defines __kernel_timespec for us, but is only available since Linux 5.1, hence conditionally
* include this. */
#include <linux/time_types.h>
#endif
#include <signal.h>
#include <sys/syscall.h>
#include <sys/types.h>
@@ -26,11 +22,6 @@
#include "missing_stat.h"
#include "missing_syscall_def.h"
/* linux/kcmp.h */
#ifndef KCMP_FILE /* 3f4994cfc15f38a3159c6e3a4b3ab2e1481a6b02 (3.19) */
#define KCMP_FILE 0
#endif
/* ======================================================================= */
#if !HAVE_FCHMODAT2