diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-07-08 10:34:28 +0400 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-07-08 10:34:28 +0400 |
commit | 8f6ce094dc780010e51e38bf96b9d107cefdd4b6 (patch) | |
tree | 9ed961ac07cbd230d12bd3f4f25f257736f1477c /miscutils | |
parent | 126f2b2853502a7e74e73c11b86a25510a76b9c0 (diff) |
a few tweaks for bionic
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/adjtimex.c | 6 | ||||
-rw-r--r-- | miscutils/setserial.c | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/miscutils/adjtimex.c b/miscutils/adjtimex.c index 98b6ccfbf..c8816e9e7 100644 --- a/miscutils/adjtimex.c +++ b/miscutils/adjtimex.c @@ -23,7 +23,11 @@ //usage: "\n -p TCONST" #include "libbb.h" -#include <sys/timex.h> +#ifdef __BIONIC__ +# include <linux/timex.h> +#else +# include <sys/timex.h> +#endif static const uint16_t statlist_bit[] = { STA_PLL, diff --git a/miscutils/setserial.c b/miscutils/setserial.c index 26902a273..2a034e32c 100644 --- a/miscutils/setserial.c +++ b/miscutils/setserial.c @@ -11,7 +11,7 @@ //config:config SETSERIAL //config: bool "setserial" //config: default y -//config: depends on PLATFORM_LINUX +//config: select PLATFORM_LINUX //config: help //config: Retrieve or set Linux serial port. |