chiark / gitweb /
volume_id: provide libvolume_id.a file
[elogind.git] / klibc / klibc / arch / ia64 / pipe.c
index 5f5dd05727eddb0a109b761c8e18778b71eff9d0..87a6981e55ab87507059c1b2317dd83e0eaf11df 100644 (file)
@@ -2,7 +2,7 @@
  * pipe.c
  */
 
-#include "syscommon.h"
+#include <sys/syscall.h>
 #include <klibc/archsys.h>
 
 #define ASM_CLOBBERS ,"out2", "out3", "out4", "out5", "out6", "out7",    \
@@ -27,7 +27,7 @@ int pipe(int *filedes)
        long _retval;
        __asm __volatile (__IA64_BREAK
                          : "=r" (_r8), "=r" (_r10), "=r" (_r15),
-                           "=r" (_out0)
+                         "=r" (_out0), "=r" (_r9)
                          : "2" (_r15), "3" (_out0)
                          : "memory" ASM_CLOBBERS);
        if (_r10 == -1) {