From 1a72e1eb1b45fcfc97efa5f9d7d521123351b586 Mon Sep 17 00:00:00 2001 From: andersen Date: Tue, 12 Dec 2000 23:22:35 +0000 Subject: Cleanup for proper compilation with uClibc. git-svn-id: svn://busybox.net/trunk/busybox@1438 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- init/init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'init') diff --git a/init/init.c b/init/init.c index e5b1a3931..75d2f33b9 100644 --- a/init/init.c +++ b/init/init.c @@ -84,10 +84,11 @@ struct serial_struct { #define RB_DISABLE_CAD 0 #define RB_POWER_OFF 0x4321fedc #define RB_AUTOBOOT 0x01234567 -#if defined(__GLIBC__) +#if defined(__GLIBC__) || defined (__UCLIBC__) #include #define init_reboot(magic) reboot(magic) #else + extern int reboot __P ((int __howto)); #define init_reboot(magic) reboot(0xfee1dead, 672274793, magic) #endif #endif -- cgit v1.2.3-55-g6feb