diff options
author | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-26 14:24:14 +0000 |
---|---|---|
committer | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-26 14:24:14 +0000 |
commit | a2161c21f98349e4e17640ca341ab8af33646210 (patch) | |
tree | 8c706443c3539c6af8f63aad9fc404a779316ca8 | |
parent | b1305dc1d585c18c2755ab65bc968649d6eb3ec2 (diff) | |
download | hercules-a2161c21f98349e4e17640ca341ab8af33646210.tar.gz hercules-a2161c21f98349e4e17640ca341ab8af33646210.tar.bz2 hercules-a2161c21f98349e4e17640ca341ab8af33646210.tar.xz hercules-a2161c21f98349e4e17640ca341ab8af33646210.zip |
Solved console plugins compilation error
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10072 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | Changelog-Trunk.txt | 1 | ||||
-rw-r--r-- | src/plugins/console.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 5681668c2..c9287af65 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. 2007/03/27 + * Solved console plugins compilation error [Toms] * Changed MAX_LEVEL to the standard value 99. Memory consumption-= 55MB. - !!!WARNING!!! If your server uses higher levels, be sure to adjust this appropriately! (the define can be found in /src/map/map.h) diff --git a/src/plugins/console.c b/src/plugins/console.c index e80843944..df847ea54 100644 --- a/src/plugins/console.c +++ b/src/plugins/console.c @@ -7,6 +7,8 @@ #define WIN32_LEAN_AND_MEAN #include <windows.h> #else + #define __USE_XOPEN + #include <features.h> #include <sys/types.h> #include <unistd.h> #include <poll.h> |