summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-14 17:44:37 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-14 17:44:37 +0300
commit9f8266d3e302a04cc862b649b2e85b7d4ccfa0a4 (patch)
tree6c40f5f489177f7a4e18b2f23b23cf70bd5f62a6 /src/net
parent9b05ab35e04fa37725f8c757e76e7d1e2ad0a3f3 (diff)
downloadplus-9f8266d3e302a04cc862b649b2e85b7d4ccfa0a4.tar.gz
plus-9f8266d3e302a04cc862b649b2e85b7d4ccfa0a4.tar.bz2
plus-9f8266d3e302a04cc862b649b2e85b7d4ccfa0a4.tar.xz
plus-9f8266d3e302a04cc862b649b2e85b7d4ccfa0a4.zip
Remove some useless includes.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/chatrecv.h8
-rw-r--r--src/net/ea/inventoryitem.h6
-rw-r--r--src/net/ea/traderecv.h6
-rw-r--r--src/net/eathena/beingrecv.h8
-rw-r--r--src/net/eathena/maptypeproperty2.h6
-rw-r--r--src/net/tmwa/beingrecv.h8
-rw-r--r--src/net/worldinfo.h8
7 files changed, 8 insertions, 42 deletions
diff --git a/src/net/ea/chatrecv.h b/src/net/ea/chatrecv.h
index eced8fd0e..07efc1e99 100644
--- a/src/net/ea/chatrecv.h
+++ b/src/net/ea/chatrecv.h
@@ -26,12 +26,8 @@
#if defined(__GXX_EXPERIMENTAL_CXX0X__)
#if defined(__APPLE__)
#include <tr1/cstdint>
-#else
-#include <cstdint>
-#endif
-#else
-#include <stdint.h>
-#endif
+#endif // defined(__APPLE__)
+#endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
#include <string>
#include <queue>
diff --git a/src/net/ea/inventoryitem.h b/src/net/ea/inventoryitem.h
index 212ee98dc..749c51ac2 100644
--- a/src/net/ea/inventoryitem.h
+++ b/src/net/ea/inventoryitem.h
@@ -33,12 +33,6 @@
#include "enums/simpletypes/identified.h"
#include "enums/simpletypes/itemcolor.h"
-#if defined(__GXX_EXPERIMENTAL_CXX0X__)
-#include <cstdint>
-#else
-#include <stdint.h>
-#endif
-
#include <vector>
#include "localconsts.h"
diff --git a/src/net/ea/traderecv.h b/src/net/ea/traderecv.h
index 470366f99..c4ded8aa7 100644
--- a/src/net/ea/traderecv.h
+++ b/src/net/ea/traderecv.h
@@ -23,12 +23,6 @@
#ifndef NET_EA_TRADERECV_H
#define NET_EA_TRADERECV_H
-#if defined(__GXX_EXPERIMENTAL_CXX0X__)
-#include <cstdint>
-#else
-#include <stdint.h>
-#endif
-
#include <string>
namespace Net
diff --git a/src/net/eathena/beingrecv.h b/src/net/eathena/beingrecv.h
index f84895a7d..692ecb441 100644
--- a/src/net/eathena/beingrecv.h
+++ b/src/net/eathena/beingrecv.h
@@ -30,12 +30,8 @@
#if defined(__GXX_EXPERIMENTAL_CXX0X__)
#if defined(__APPLE__)
#include <tr1/cstdint>
-#else
-#include <cstdint>
-#endif
-#else
-#include <stdint.h>
-#endif
+#endif // defined(__APPLE__)
+#endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
#include "localconsts.h"
diff --git a/src/net/eathena/maptypeproperty2.h b/src/net/eathena/maptypeproperty2.h
index e8602ffbe..87e7cacba 100644
--- a/src/net/eathena/maptypeproperty2.h
+++ b/src/net/eathena/maptypeproperty2.h
@@ -23,12 +23,6 @@
#include "localconsts.h"
-#if defined(__GXX_EXPERIMENTAL_CXX0X__)
-#include <cstdint>
-#else
-#include <stdint.h>
-#endif
-
namespace EAthena
{
struct MapTypeProperty2Bits final
diff --git a/src/net/tmwa/beingrecv.h b/src/net/tmwa/beingrecv.h
index dce980da5..06d70c36d 100644
--- a/src/net/tmwa/beingrecv.h
+++ b/src/net/tmwa/beingrecv.h
@@ -26,12 +26,8 @@
#if defined(__GXX_EXPERIMENTAL_CXX0X__)
#if defined(__APPLE__)
#include <tr1/cstdint>
-#else
-#include <cstdint>
-#endif
-#else
-#include <stdint.h>
-#endif
+#endif // defined(__APPLE__)
+#endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
#include "localconsts.h"
diff --git a/src/net/worldinfo.h b/src/net/worldinfo.h
index 7a626668c..15b7e89a1 100644
--- a/src/net/worldinfo.h
+++ b/src/net/worldinfo.h
@@ -26,12 +26,8 @@
#if defined(__GXX_EXPERIMENTAL_CXX0X__)
#if defined(__APPLE__)
#include <tr1/cstdint>
-#else
-#include <cstdint>
-#endif
-#else
-#include <stdint.h>
-#endif
+#endif // defined(__APPLE__)
+#endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
#include <string>
#include <vector>