aboutsummaryrefslogtreecommitdiff
path: root/compat/include/sys/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'compat/include/sys/types.h')
-rw-r--r--compat/include/sys/types.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/compat/include/sys/types.h b/compat/include/sys/types.h
new file mode 100644
index 000000000000..f580c7c593a8
--- /dev/null
+++ b/compat/include/sys/types.h
@@ -0,0 +1,15 @@
+/*
+ * Public domain
+ * sys/types.h compatibility shim
+ */
+
+#include_next <sys/types.h>
+
+#ifndef DIFFCOMPAT_SYS_TYPES_H
+#define DIFFCOMPAT_SYS_TYPES_H
+
+#if !defined(__dead)
+#define __dead __attribute__((__noreturn__))
+#endif
+
+#endif