chiark / gitweb /
Remove networkd checks
[elogind.git] / src / shared / missing.h
index ca670cea43f74f09e5741979e921b268bd4239cd..2b979aeb1b87197bf888847303ed591c80fc2add 100644 (file)
 #include <linux/capability.h>
 #include <linux/neighbour.h>
 
-#ifdef HAVE_AUDIT
-#include <libaudit.h>
-#endif
-
 #ifdef ARCH_MIPS
 #include <asm/sgidefs.h>
 #endif
@@ -930,13 +926,3 @@ static inline int renameat2(int oldfd, const char *oldname, int newfd, const cha
 #ifndef RENAME_NOREPLACE
 #define RENAME_NOREPLACE (1 << 0)
 #endif
-
-#if !HAVE_DECL_KCMP
-static inline int kcmp(pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2) {
-        return syscall(__NR_kcmp, pid1, pid2, type, idx1, idx2);
-}
-#endif
-
-#ifndef KCMP_FILE
-#define KCMP_FILE 0
-#endif