]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/missing.h
missing: move one more network related definition to missing_network.h
[thirdparty/systemd.git] / src / basic / missing.h
index 0f3c59d8971aeaadbfcbbee10dda22beab40476a..a057d06277617a6457f1fcc6852981f839c50d0c 100644 (file)
@@ -9,12 +9,10 @@
 #include <linux/audit.h>
 #include <linux/falloc.h>
 #include <linux/oom.h>
-#include <net/ethernet.h>
 #include <stdlib.h>
 #include <sys/resource.h>
 #include <sys/socket.h>
 #include <sys/syscall.h>
-#include <uchar.h>
 #include <unistd.h>
 
 #if HAVE_AUDIT
@@ -117,10 +115,6 @@ struct sockaddr_vm {
 #define SOL_NETLINK 270
 #endif
 
-#ifndef NETLINK_LIST_MEMBERSHIPS
-#define NETLINK_LIST_MEMBERSHIPS 9
-#endif
-
 #ifndef SOL_SCTP
 #define SOL_SCTP 132
 #endif
@@ -253,15 +247,6 @@ struct sockaddr_vm {
 #define BPF_XOR 0xa0
 #endif
 
-/* Note that LOOPBACK_IFINDEX is currently not exported by the
- * kernel/glibc, but hardcoded internally by the kernel.  However, as
- * it is exported to userspace indirectly via rtnetlink and the
- * ioctls, and made use of widely we define it here too, in a way that
- * is compatible with the kernel's internal definition. */
-#ifndef LOOPBACK_IFINDEX
-#define LOOPBACK_IFINDEX 1
-#endif
-
 #ifndef MAX_AUDIT_MESSAGE_LENGTH
 #define MAX_AUDIT_MESSAGE_LENGTH 8970
 #endif
@@ -278,18 +263,6 @@ struct sockaddr_vm {
 #define KCMP_FILE 0
 #endif
 
-#if !HAVE_CHAR32_T
-#define char32_t uint32_t
-#endif
-
-#if !HAVE_CHAR16_T
-#define char16_t uint16_t
-#endif
-
-#ifndef ETHERTYPE_LLDP
-#define ETHERTYPE_LLDP 0x88cc
-#endif
-
 #ifndef SOL_ALG
 #define SOL_ALG 279
 #endif
@@ -331,5 +304,6 @@ struct sockaddr_vm {
 #include "missing_magic.h"
 #include "missing_network.h"
 #include "missing_prctl.h"
+#include "missing_type.h"
 
 #include "missing_syscall.h"