Преглед на файлове

Solved console plugins compilation error

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10072 54d463be-8e91-2dee-dedb-b68131a5f0ec
toms преди 18 години
родител
ревизия
29422b3874
променени са 2 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 1 0
      Changelog-Trunk.txt
  2. 2 0
      src/plugins/console.c

+ 1 - 0
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)

+ 2 - 0
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>