chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove repeated includes
[elogind.git]
/
src
/
shared
/
missing.h
diff --git
a/src/shared/missing.h
b/src/shared/missing.h
index c80ed2ad998fb1b6bc96d969ada20f3d5dd171d4..031fe2d1ce2fd00fe91ef24731f192d0ddada53d 100644
(file)
--- a/
src/shared/missing.h
+++ b/
src/shared/missing.h
@@
-33,7
+33,6
@@
#include <linux/input.h>
#include <linux/if_link.h>
#include <linux/loop.h>
#include <linux/input.h>
#include <linux/if_link.h>
#include <linux/loop.h>
-#include <linux/if_link.h>
#ifdef HAVE_AUDIT
#include <libaudit.h>
#ifdef HAVE_AUDIT
#include <libaudit.h>
@@
-209,7
+208,7
@@
static inline int fanotify_mark(int fanotify_fd, unsigned int flags, uint64_t ma
#endif
#ifndef HAVE_MEMFD_CREATE
#endif
#ifndef HAVE_MEMFD_CREATE
-static inline int memfd_create(const char *name, u
int64_
t flags) {
+static inline int memfd_create(const char *name, u
nsigned in
t flags) {
return syscall(__NR_memfd_create, name, flags);
}
#endif
return syscall(__NR_memfd_create, name, flags);
}
#endif
@@
-558,6
+557,10
@@
static inline int setns(int fd, int nstype) {
#define IPV6_UNICAST_IF 76
#endif
#define IPV6_UNICAST_IF 76
#endif
+#ifndef IFF_MULTI_QUEUE
+#define IFF_MULTI_QUEUE 0x100
+#endif
+
#ifndef IFF_LOWER_UP
#define IFF_LOWER_UP 0x10000
#endif
#ifndef IFF_LOWER_UP
#define IFF_LOWER_UP 0x10000
#endif