summaryrefslogtreecommitdiff
path: root/packages/glibc/2.13/0030-alpha-creat.patch
blob: 6ef5278279654bc98be2b7efe1e32b5ac4d61b20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
alpha does not have a __NR_creat

http://bugs.gentoo.org/227275
http://sourceware.org/bugzilla/show_bug.cgi?id=6650

---
 sysdeps/unix/sysv/linux/wordsize-64/creat64.c |    4 ++++
 1 file changed, 4 insertions(+)

--- a/sysdeps/unix/sysv/linux/wordsize-64/creat64.c
+++ b/sysdeps/unix/sysv/linux/wordsize-64/creat64.c
@@ -1 +1,5 @@
 /* Defined as alias for the syscall.  */
+#include <sysdep.h>
+#ifndef __NR_creat
+#include "../../../../../io/creat64.c"
+#endif