summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-06 06:16:15 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-06 06:16:15 +0300
commit847260e5e91391a979f4292d130d7b6e3b43bdf1 (patch)
treeb9a1dd7ae458613bd3a7c5280a560ac4751b8cee
parent019cdeca5c23db610fa153e19d3becbcadc113da (diff)
downloadmanaverse-847260e5e91391a979f4292d130d7b6e3b43bdf1.tar.gz
manaverse-847260e5e91391a979f4292d130d7b6e3b43bdf1.tar.bz2
manaverse-847260e5e91391a979f4292d130d7b6e3b43bdf1.tar.xz
manaverse-847260e5e91391a979f4292d130d7b6e3b43bdf1.zip
Add include protections into client.h and viewport.h
-rw-r--r--src/client.h2
-rw-r--r--src/gui/viewport.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h
index feead38e4..e896bb1e5 100644
--- a/src/client.h
+++ b/src/client.h
@@ -23,7 +23,9 @@
#ifdef DYECMD
#include "progs/dyecmd/client.h"
+PROGS_DYECMD_CLIENT_H
#else // DYECMD
#include "progs/manaplus/client.h"
+PROGS_MANAPLUS_CLIENT_H
#endif // DYECMD
#endif // CLIENT_H
diff --git a/src/gui/viewport.h b/src/gui/viewport.h
index 70c918bf6..615e1d796 100644
--- a/src/gui/viewport.h
+++ b/src/gui/viewport.h
@@ -23,8 +23,10 @@
#ifdef DYECMD
#include "progs/dyecmd/gui/viewport.h"
+PROGS_DYECMD_GUI_VIEWPORT_H
#else
#include "progs/manaplus/gui/viewport.h"
+PROGS_MANAPLUS_GUI_VIEWPORT_H
#endif // DYECMD
#endif // GUI_VIEWPORT_H