1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-17 14:55:13 -05:00

Fix build with libstdc++

libstdc++ doesn't include <cstring> inside of <string>, unlike libc++.
This commit is contained in:
kwolekr 2015-05-19 02:38:48 -04:00
parent 6c5a6967ec
commit 43702ec6ac

View File

@ -17,9 +17,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include <strings.h>
#include "objdef.h" #include "objdef.h"
#include "util/numeric.h" #include "util/numeric.h"
#include "debug.h" #include "debug.h"
#include "porting.h"
#include "log.h" #include "log.h"
#include "gamedef.h" #include "gamedef.h"