summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpanikon <panikon@zoho.com>2014-05-08 12:16:20 -0300
committerpanikon <panikon@zoho.com>2014-05-08 12:16:20 -0300
commitc4603a0335e5cfe49a600ff58c9060680b55360d (patch)
tree4a002ac081daefdd692b6c0cb040cb85a50dc23f
parentae289d65b550198ce32a5314f1ff769d729821a9 (diff)
downloadhercules-c4603a0335e5cfe49a600ff58c9060680b55360d.tar.gz
hercules-c4603a0335e5cfe49a600ff58c9060680b55360d.tar.bz2
hercules-c4603a0335e5cfe49a600ff58c9060680b55360d.tar.xz
hercules-c4603a0335e5cfe49a600ff58c9060680b55360d.zip
Fixed issue 8176
http://hercules.ws/board/tracker/issue-8176-lastet-commit-cant-compile-successfully-on-linux/ Sorry for taking so long, it seems that even if errno.h is not included in MSVC errno is still available, but that doesn't happen in unix compilers.
-rw-r--r--src/char/inter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/char/inter.c b/src/char/inter.c
index 6cb349fd3..c48b26fdd 100644
--- a/src/char/inter.c
+++ b/src/char/inter.c
@@ -25,6 +25,7 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
+#include <errno.h>
#include <sys/stat.h> // for stat/lstat/fstat - [Dekamaster/Ultimate GM Tool]