aboutsummaryrefslogtreecommitdiff
path: root/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'init.c')
-rw-r--r--init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.c b/init.c
index e057caa7e..ec144ea85 100644
--- a/init.c
+++ b/init.c
@@ -84,7 +84,7 @@ static const int RB_DISABLE_CAD = 0;
84static const int RB_AUTOBOOT = 0x01234567; 84static const int RB_AUTOBOOT = 0x01234567;
85#endif 85#endif
86 86
87#if __GNU_LIBRARY__ > 5 87#if (__GNU_LIBRARY__ > 5) || defined(__dietlibc__)
88 #include <sys/reboot.h> 88 #include <sys/reboot.h>
89 #define init_reboot(magic) reboot(magic) 89 #define init_reboot(magic) reboot(magic)
90#else 90#else