diff options
-rw-r--r-- | win/colours.h | 6 | ||||
-rw-r--r-- | win/inspircd_win32wrapper.cpp | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/win/colours.h b/win/colours.h index f30142bf9..6a71d7853 100644 --- a/win/colours.h +++ b/win/colours.h @@ -11,6 +11,9 @@ * ---------------------------------------------------
*/
+#ifndef __COLOURS_H
+#define __COLOURS_H
+
#define TRED FOREGROUND_RED | FOREGROUND_INTENSITY
#define TGREEN FOREGROUND_GREEN | FOREGROUND_INTENSITY
#define TYELLOW FOREGROUND_GREEN | FOREGROUND_RED | FOREGROUND_INTENSITY
@@ -92,3 +95,6 @@ int printf_c(const char * format, ...) return c;
}
+
+#endif
+
diff --git a/win/inspircd_win32wrapper.cpp b/win/inspircd_win32wrapper.cpp index 3a929d09e..9ca4fd7c9 100644 --- a/win/inspircd_win32wrapper.cpp +++ b/win/inspircd_win32wrapper.cpp @@ -12,6 +12,7 @@ */
#include "inspircd_win32wrapper.h"
+#include "colours.h"
#include "inspircd.h"
#include <string>
#include <errno.h>
|