patch-1.3.2 linux/include/asm-alpha/unistd.h

Next file: linux/include/asm-i386/a.out.h
Previous file: linux/include/asm-alpha/types.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.1/linux/include/asm-alpha/unistd.h linux/include/asm-alpha/unistd.h
@@ -8,6 +8,8 @@
  * yet. I'll have to see about this later..
  */
 
+#ifdef __LIBRARY__
+
 /* XXX - _foo needs to be __foo, while __NR_bar could be _NR_bar. */
 #define _syscall0(type,name) \
 type name(void) \
@@ -46,7 +48,11 @@
 	return (type) -1; \
 }
 
+#endif /* __LIBRARY__ */
+
 #ifdef __KERNEL_SYSCALLS__
+
+#include <linux/string.h>
 
 extern unsigned long kernel_fork(void);
 static inline unsigned long fork(void)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this