diff mbox

[1/3] time: include math64.h in time64.h

Message ID 1428541482-3181-1-git-send-email-xlpang@126.com
State Superseded
Headers show

Commit Message

Xunlei Pang April 9, 2015, 1:04 a.m. UTC
From: Xunlei Pang <pang.xunlei@linaro.org>

On 32-bit systems, timespec64_add_ns() calls __iter_div_u64_rem()
which needs match64.h, and we want to include time64.h in some
cases.

Signed-off-by: Xunlei Pang <pang.xunlei@linaro.org>
---
 include/linux/time64.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/include/linux/time64.h b/include/linux/time64.h
index a383147..12d4e82 100644
--- a/include/linux/time64.h
+++ b/include/linux/time64.h
@@ -2,6 +2,7 @@ 
 #define _LINUX_TIME64_H
 
 #include <uapi/linux/time.h>
+#include <linux/math64.h>
 
 typedef __s64 time64_t;