]>
Commit | Line | Data |
---|---|---|
7e8456de PS |
1 | This patch solves easily an error in the ioctl code for the PPC |
2 | because it uses the "errno" variable without including "errno.h". | |
3 | ||
4 | diff -urP uClibc-0.9.28/libc/sysdeps/linux/powerpc/ioctl.c uClibc-0.9.28-ioctl-errno/libc/sysdeps/linux/powerpc/ioctl.c | |
5 | --- uClibc-0.9.28/libc/sysdeps/linux/powerpc/ioctl.c 2005-08-18 00:49:42.000000000 +0200 | |
6 | +++ uClibc-0.9.28-ioctl-errno/libc/sysdeps/linux/powerpc/ioctl.c 2005-08-23 10:46:34.000000000 +0200 | |
7 | @@ -21,6 +21,7 @@ | |
8 | #include <unistd.h> | |
9 | #include <sys/ioctl.h> | |
10 | #include <sys/syscall.h> | |
11 | +#include <errno.h> | |
12 | ||
13 | /* The user-visible size of struct termios has changed. Catch ioctl calls | |
14 | using the new-style struct termios, and translate them to old-style. */ |