summaryrefslogtreecommitdiff
path: root/miscutils/adjtimex.c
diff options
context:
space:
mode:
authorDenys Vlasenko2011-07-08 08:34:28 +0200
committerDenys Vlasenko2011-07-08 08:34:28 +0200
commit8f6ce094dc780010e51e38bf96b9d107cefdd4b6 (patch)
tree9ed961ac07cbd230d12bd3f4f25f257736f1477c /miscutils/adjtimex.c
parent126f2b2853502a7e74e73c11b86a25510a76b9c0 (diff)
downloadbusybox-8f6ce094dc780010e51e38bf96b9d107cefdd4b6.zip
busybox-8f6ce094dc780010e51e38bf96b9d107cefdd4b6.tar.gz
a few tweaks for bionic
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils/adjtimex.c')
-rw-r--r--miscutils/adjtimex.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/miscutils/adjtimex.c b/miscutils/adjtimex.c
index 98b6ccf..c8816e9 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,