[PATCH 2/3] clock.h: include <types.h> under guard macro

Antony Pavlov antonynpavlov at gmail.com
Wed Oct 21 22:45:26 PDT 2015


Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
 include/clock.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/clock.h b/include/clock.h
index 7f0f1ec..d65e404 100644
--- a/include/clock.h
+++ b/include/clock.h
@@ -1,8 +1,7 @@
-#include <types.h>
-
 #ifndef CLOCK_H
 #define CLOCK_H
 
+#include <types.h>
 #include <linux/time.h>
 
 #define CLOCKSOURCE_MASK(bits) (uint64_t)((bits) < 64 ? ((1ULL<<(bits))-1) : -1)
-- 
2.6.0




More information about the barebox mailing list