X-Git-Url: https://plomlompom.com/repos/test.html?a=blobdiff_plain;f=src%2Fwindows.h;h=e52f93bc612f422817ee33a84354ca3ffba979f8;hb=4f8360fb6aad70ba208ca60f0d9c94590b222530;hp=c194907b6c41046fc784b76d367829a506d7d3f8;hpb=e9d8b1aca776341c9cdaa2ea6406336661d82a76;p=plomrogue
diff --git a/src/windows.h b/src/windows.h
index c194907..e52f93b 100644
--- a/src/windows.h
+++ b/src/windows.h
@@ -1,6 +1,8 @@
-struct yx_uint16 {
- uint16_t y;
- uint16_t x; };
+#ifndef WINDOWS_H
+#define WINDOWS_H
+
+#include "ncurses.h"
+#include "yx_uint16.h"
struct Frame {
WINDOW * curses_win;
@@ -33,3 +35,5 @@ extern void resize_active_win (struct WinMeta *, uint16_t, uint16_t);
extern void cycle_active_win (struct WinMeta *, char);
extern void shift_active_win (struct WinMeta *, char);
extern void reset_pad_offset (struct WinMeta *, uint16_t);
+
+#endif