aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-12-09 23:12:00 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-12-09 23:12:00 +0000
commit367878412a215a245112a8d006909e7400fdb78b (patch)
tree650613379e0301a91e69d24964005364b9d3d5b7 /libbb
parent6741fb0b0103f1874dc70ccd7f1a74c7db519b00 (diff)
downloadbusybox-w32-367878412a215a245112a8d006909e7400fdb78b.tar.gz
busybox-w32-367878412a215a245112a8d006909e7400fdb78b.tar.bz2
busybox-w32-367878412a215a245112a8d006909e7400fdb78b.zip
Workaround for uClibc-specific header problem described here:
http://www.busybox.net/lists/busybox/2004-December/013276.html Rob git-svn-id: svn://busybox.net/trunk/busybox@9545 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-rw-r--r--libbb/loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/loop.c b/libbb/loop.c
index e2287b5ba..bbfe2acfd 100644
--- a/libbb/loop.c
+++ b/libbb/loop.c
@@ -19,6 +19,7 @@
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 */ 20 */
21 21
22#include <asm/posix_types.h>
22#include <stdio.h> 23#include <stdio.h>
23#include <errno.h> 24#include <errno.h>
24#include <fcntl.h> 25#include <fcntl.h>
@@ -30,7 +31,6 @@
30/* Grumble... The 2.6.x kernel breaks asm/posix_types.h 31/* Grumble... The 2.6.x kernel breaks asm/posix_types.h
31 * so we get to try and cope as best we can... */ 32 * so we get to try and cope as best we can... */
32#include <linux/version.h> 33#include <linux/version.h>
33#include <asm/posix_types.h>
34 34
35#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) 35#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
36#define __bb_kernel_dev_t __kernel_old_dev_t 36#define __bb_kernel_dev_t __kernel_old_dev_t