summaryrefslogtreecommitdiff
path: root/include/arch/posix
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-03-21 08:25:35 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-03-21 08:25:35 +0100
commit9b07d50daa0ce241d2677eebe777bc15b57ec7b0 (patch)
tree4d39cf20ee4bf0cc8d832102b5716433e5e6d1b1 /include/arch/posix
parentc4e9b301ed9d3943a3d4b6ec2fa708528e35c7d3 (diff)
counter: add include guards
Diffstat (limited to 'include/arch/posix')
-rw-r--r--include/arch/posix/driver/counter.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/arch/posix/driver/counter.h b/include/arch/posix/driver/counter.h
index 88cb0cc..eeb6da4 100644
--- a/include/arch/posix/driver/counter.h
+++ b/include/arch/posix/driver/counter.h
@@ -1,3 +1,6 @@
+#ifndef COUNTER_H
+#define COUNTER_H
+
#include <stdint.h>
#include <time.h>
@@ -32,3 +35,5 @@ class Counter {
};
extern Counter counter;
+
+#endif