summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/plugins/console.c2
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>