summaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2012-10-10 15:10:27 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-02-20 13:45:11 +0100
commitecb2be2c0a2f9c489663a4b01b97074dda2ceb1e (patch)
tree4f9c1c406d87d92c2d3c482e76b9f444e5048401 /include/sys
parentd8386ad5e72b0e0583cc233d476c5b50ca66a4e5 (diff)
mkdir: Use mkdirat if arch does not have the mkdir syscall
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/stat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/stat.h b/include/sys/stat.h
index 1709cece7..9283a8971 100644
--- a/include/sys/stat.h
+++ b/include/sys/stat.h
@@ -335,6 +335,7 @@ libc_hidden_proto(mkdir)
with FD. */
extern int mkdirat (int __fd, const char *__path, __mode_t __mode)
__THROW __nonnull ((2));
+libc_hidden_proto(mkdirat)
#endif
/* Create a device file named PATH, with permission and special bits MODE