include "busybox" after the libc includes tofix compile errors
This commit is contained in:
@@ -21,18 +21,20 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "busybox.h"
|
||||
#include <signal.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <getopt.h>
|
||||
|
||||
#include "busybox.h"
|
||||
|
||||
#if (__GNU_LIBRARY__ > 5) || defined(__dietlibc__)
|
||||
#include <sys/reboot.h>
|
||||
#define init_reboot(magic) reboot(magic)
|
||||
#else
|
||||
#define init_reboot(magic) reboot(0xfee1dead, 672274793, magic)
|
||||
#endif
|
||||
|
||||
#ifndef RB_ENABLE_CAD
|
||||
static const int RB_ENABLE_CAD = 0x89abcdef;
|
||||
static const int RB_AUTOBOOT = 0x01234567;
|
||||
|
Reference in New Issue
Block a user