summaryrefslogtreecommitdiff
path: root/src/net/download.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-05-05 18:12:36 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-05-05 22:26:32 +0200
commit86154175f63a7f1a4b73b3727314ac760d83834e (patch)
tree5507b93f5ef8f4cb01b46233050230f9d12f9ef5 /src/net/download.h
parentc32c1746b43f3f7869bbbf3c86533bf5a5d57a29 (diff)
downloadmana-86154175f63a7f1a4b73b3727314ac760d83834e.tar.gz
mana-86154175f63a7f1a4b73b3727314ac760d83834e.tar.bz2
mana-86154175f63a7f1a4b73b3727314ac760d83834e.tar.xz
mana-86154175f63a7f1a4b73b3727314ac760d83834e.zip
Fixed compilation errors and warnings with GCC 4.7
Also, since GCC 4.7 there is a binary compatibility issue when linking with a Guichan that was not compiled in C++11 mode. This commit also allows compiling with GCC 4.7 with C++11 mode turned off. Reviewed-by: Erik Schilling
Diffstat (limited to 'src/net/download.h')
-rw-r--r--src/net/download.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/download.h b/src/net/download.h
index c0bdf204..26810f3f 100644
--- a/src/net/download.h
+++ b/src/net/download.h
@@ -18,6 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <cstdlib> // pulls in int64_t
#include <cstdio>
#include <string>