#ifndef _WC_IRSND_H_\r
#define _WC_IRSND_H_\r
\r
-#define IRSND_NO_REPETITIONS 0 // no repetitions\r
-#define IRSND_MAX_REPETITIONS 14 // max # of repetitions\r
-#define IRSND_ENDLESS_REPETITION 15 // endless repetions\r
-#define IRSND_REPETITION_MASK 0x0F // lower nibble of flags\r
+#if defined(__18CXX) // Microchip C18 declaration of missing typedef\r
+typedef unsigned char uint8_t;\r
+typedef unsigned int uint16_t;\r
+#endif \r
+\r
+#define IRSND_NO_REPETITIONS 0 // no repetitions\r
+#define IRSND_MAX_REPETITIONS 14 // max # of repetitions\r
+#define IRSND_ENDLESS_REPETITION 15 // endless repetions\r
+#define IRSND_REPETITION_MASK 0x0F // lower nibble of flags\r
\r
/**\r
* Initialize ISND encoder\r