summaryrefslogtreecommitdiff
path: root/librt
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-04-04 18:08:09 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-04-04 18:08:09 +0200
commit57f058bb34d451b857bc9450cf28117cb2ca7ed7 (patch)
tree16d30243bcc745419c078a72ea599bee78d69b09 /librt
parentd7bd4cf1a5d1b41a98b1242018e13d428159b38c (diff)
librt: convince spawn to compile for !LFS
Great to have this valuable family of high kwalitee functions in here. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'librt')
-rw-r--r--librt/spawn_int.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/librt/spawn_int.h b/librt/spawn_int.h
index 89c88dba9..1d990fc33 100644
--- a/librt/spawn_int.h
+++ b/librt/spawn_int.h
@@ -24,3 +24,12 @@ struct __spawn_action {
};
int __posix_spawn_file_actions_realloc(posix_spawn_file_actions_t *fa);
+
+/* handle !LFS */
+#ifndef __UCLIBC_HAS_LFS__
+# define rlimit64 rlimit
+# define getrlimit64 getrlimit
+#endif
+#ifndef O_LARGEFILE
+# define O_LARGEFILE 0
+#endif