generic-poky/meta/packages/busybox/busybox-1.01/uclibc_posix.patch
Richard Purdie 03c40cce7c busybox: Sync with OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@902 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-21 10:02:56 +00:00

22 lines
696 B
Diff

see http://www.busybox.net/lists/busybox/2004-December/013276.html
and http://bugs.openembedded.org/show_bug.cgi?id=657
--- busybox-1.01/libbb/loop.c 2006/03/13 22:18:47 1.1
+++ busybox-1.01/libbb/loop.c 2006/03/13 22:19:57
@@ -19,6 +19,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include <linux/types.h>
#include <stdio.h>
#include <errno.h>
#include <fcntl.h>
@@ -30,7 +31,6 @@
/* Grumble... The 2.6.x kernel breaks asm/posix_types.h
* so we get to try and cope as best we can... */
#include <linux/version.h>
-#include <asm/posix_types.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
#define __bb_kernel_dev_t __kernel_old_dev_t