[uClibc-cvs] uClibc/libc/sysdeps/linux/powerpc Makefile, 1.29, 1.30 ioctl.c, 1.2, 1.3

Erik Andersen andersen at uclibc.org
Fri Jan 30 22:10:41 UTC 2004


Update of /var/cvs/uClibc/libc/sysdeps/linux/powerpc
In directory nail:/home/andersen/CVS/uClibc/libc/sysdeps/linux/powerpc

Modified Files:
	Makefile ioctl.c 
Log Message:
Andrew May writes:

Here are some simple fixes for things that broke for PPC with
the recent syscall cleanup. I am not sure they are correct but
they seem pretty trivial.



Index: Makefile
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/powerpc/Makefile,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- Makefile	3 Dec 2003 23:12:13 -0000	1.29
+++ Makefile	30 Jan 2004 22:10:39 -0000	1.30
@@ -32,7 +32,7 @@
 endif
 SOBJS=$(patsubst %.S,%.o, $(SSRC))
 
-CSRC=_mmap.c vfork.c __syscall_error.c pread_write.c ioctl.c
+CSRC=mmap.c vfork.c __syscall_error.c pread_write.c ioctl.c
 COBJS=$(patsubst %.c,%.o, $(CSRC))
 
 OBJS=$(SOBJS) $(COBJS)

Index: ioctl.c
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/powerpc/ioctl.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ioctl.c	21 Jan 2004 23:27:44 -0000	1.2
+++ ioctl.c	30 Jan 2004 22:10:39 -0000	1.3
@@ -20,6 +20,7 @@
 #include <termios.h>
 #include <unistd.h>
 #include <sys/ioctl.h>
+#include <sys/syscall.h>
 
 /* The user-visible size of struct termios has changed.  Catch ioctl calls
    using the new-style struct termios, and translate them to old-style.  */




More information about the uClibc-cvs mailing list