Workaround for uClibc-specific header problem described here:
http://www.busybox.net/lists/busybox/2004-December/013276.html Rob
This commit is contained in:
parent
c6fbed5dba
commit
861f0145d3
@ -19,6 +19,7 @@
|
|||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <asm/posix_types.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
@ -30,7 +31,6 @@
|
|||||||
/* Grumble... The 2.6.x kernel breaks asm/posix_types.h
|
/* Grumble... The 2.6.x kernel breaks asm/posix_types.h
|
||||||
* so we get to try and cope as best we can... */
|
* so we get to try and cope as best we can... */
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
#include <asm/posix_types.h>
|
|
||||||
|
|
||||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
|
||||||
#define __bb_kernel_dev_t __kernel_old_dev_t
|
#define __bb_kernel_dev_t __kernel_old_dev_t
|
||||||
|
Loading…
Reference in New Issue
Block a user