diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-07-22 23:00:15 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-07-22 23:00:15 +0000 |
commit | 085a2c338db65620be7de9bac0b0e0dfcf6b54e4 (patch) | |
tree | eab4c5133f1c8d1fd898d13e000aae5c5673211b /init | |
parent | d997e48ccc3987112bc58387f78d4727559d66f5 (diff) | |
download | busybox-w32-085a2c338db65620be7de9bac0b0e0dfcf6b54e4.tar.gz busybox-w32-085a2c338db65620be7de9bac0b0e0dfcf6b54e4.tar.bz2 busybox-w32-085a2c338db65620be7de9bac0b0e0dfcf6b54e4.zip |
Some patches to make dietlibc work...
git-svn-id: svn://busybox.net/trunk/busybox@3134 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'init')
-rw-r--r-- | init/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c index e057caa7e..ec144ea85 100644 --- a/init/init.c +++ b/init/init.c | |||
@@ -84,7 +84,7 @@ static const int RB_DISABLE_CAD = 0; | |||
84 | static const int RB_AUTOBOOT = 0x01234567; | 84 | static 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 |