]> git.pld-linux.org Git - packages/uClibc.git/blame - uClibc-ppc-ioctl-errno.patch
- rel 1.3
[packages/uClibc.git] / uClibc-ppc-ioctl-errno.patch
CommitLineData
7e8456de
PS
1This patch solves easily an error in the ioctl code for the PPC
2because it uses the "errno" variable without including "errno.h".
3
4diff -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. */
This page took 0.028969 seconds and 4 git commands to generate.