summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2015-10-22 08:45:26 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2015-10-22 09:33:58 +0200
commitd70cb35e44c2880f17351393db3785855b064bd6 (patch)
treed07940d19763dcefcbc0a0175ad92313f3329a7f
parent31ab7cd4600c1f3aa5599fb81511b9a2b89ad915 (diff)
downloadbarebox-d70cb35e44c2880f17351393db3785855b064bd6.tar.gz
clock.h: include <types.h> under guard macro
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--include/clock.h3
1 files changed, 1 insertions, 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)