chiark / gitweb /
add missing header files
[elogind.git] / missing.h
diff --git a/missing.h b/missing.h
new file mode 100644 (file)
index 0000000..6f1e599
--- /dev/null
+++ b/missing.h
@@ -0,0 +1,12 @@
+#ifndef foomissinghfoo
+#define foomissinghfoo
+
+/* Missing glibc definitions to access certain kernel APIs */
+
+#include <sys/resource.h>
+
+#ifndef RLIMIT_RTTIME
+#define RLIMIT_RTTIME 15
+#endif
+
+#endif