Some patches to make dietlibc work...
diff --git a/init/init.c b/init/init.c
index e057caa..ec144ea 100644
--- a/init/init.c
+++ b/init/init.c
@@ -84,7 +84,7 @@
 static const int RB_AUTOBOOT = 0x01234567;
 #endif
 
-#if __GNU_LIBRARY__ > 5
+#if (__GNU_LIBRARY__ > 5) || defined(__dietlibc__) 
   #include <sys/reboot.h>
   #define init_reboot(magic) reboot(magic)
 #else