summaryrefslogtreecommitdiff
path: root/portability/sys/stat.h
diff options
context:
space:
mode:
Diffstat (limited to 'portability/sys/stat.h')
-rw-r--r--portability/sys/stat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/portability/sys/stat.h b/portability/sys/stat.h
new file mode 100644
index 0000000..1d3e5f8
--- /dev/null
+++ b/portability/sys/stat.h
@@ -0,0 +1,5 @@
+#include_next <sys/stat.h>
+
+#ifdef NEED_MKNODAT
+int mknodat(int dirfd, const char *pathname, mode_t mode, dev_t dev);
+#endif