summaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'types.h')
-rw-r--r--types.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/types.h b/types.h
index a18a03b..eb9fb05 100644
--- a/types.h
+++ b/types.h
@@ -1,4 +1,7 @@
-#include<pgmspace.h>
+#ifndef _TYPES_H
+#define _TYPES_H
+
+#include <avr/pgmspace.h>
typedef unsigned char u8;
typedef signed char s8;
@@ -21,3 +24,5 @@ typedef signed long s32;
#define xdata
#define bit uchar
+
+#endif /* _TYPES_H */