summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley2004-12-09 23:12:00 +0000
committerRob Landley2004-12-09 23:12:00 +0000
commit861f0145d3f04547bb15fde1718b949996094fba (patch)
tree650613379e0301a91e69d24964005364b9d3d5b7
parentc6fbed5dba0ebf333fbe7af4d07ff839492f8882 (diff)
downloadbusybox-861f0145d3f04547bb15fde1718b949996094fba.zip
busybox-861f0145d3f04547bb15fde1718b949996094fba.tar.gz
Workaround for uClibc-specific header problem described here:
http://www.busybox.net/lists/busybox/2004-December/013276.html Rob
-rw-r--r--libbb/loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/loop.c b/libbb/loop.c
index e2287b5..bbfe2ac 100644
--- a/libbb/loop.c
+++ b/libbb/loop.c
@@ -19,6 +19,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include <asm/posix_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