summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/db/itemdb.cpp2
-rw-r--r--src/resources/item/shopitem.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp
index 08055e404..a98f0dad4 100644
--- a/src/resources/db/itemdb.cpp
+++ b/src/resources/db/itemdb.cpp
@@ -40,7 +40,9 @@
#include "resources/sprite/spritereference.h"
+#ifdef TMWA_SUPPORT
#include "net/net.h"
+#endif // TMWA_SUPPORT
#include "utils/checkutils.h"
#include "utils/delete2.h"
diff --git a/src/resources/item/shopitem.cpp b/src/resources/item/shopitem.cpp
index 99e0c43dd..76b269cca 100644
--- a/src/resources/item/shopitem.cpp
+++ b/src/resources/item/shopitem.cpp
@@ -26,7 +26,9 @@
#include "utils/stringutils.h"
+#ifdef TMWA_SUPPORT
#include "net/net.h"
+#endif // TMWA_SUPPORT
#include "resources/db/unitsdb.h"