From 43702ec6ac0fae7c8ef04be82bcca72ba9bec017 Mon Sep 17 00:00:00 2001
From: kwolekr <kwolekr@minetest.net>
Date: Tue, 19 May 2015 02:38:48 -0400
Subject: [PATCH] Fix build with libstdc++

libstdc++ doesn't include <cstring> inside of <string>, unlike libc++.
---
 src/objdef.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/objdef.cpp b/src/objdef.cpp
index bdf9c4dfc..465bea44c 100644
--- a/src/objdef.cpp
+++ b/src/objdef.cpp
@@ -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.
 */
 
+#include <strings.h>
 #include "objdef.h"
 #include "util/numeric.h"
 #include "debug.h"
+#include "porting.h"
 #include "log.h"
 #include "gamedef.h"
 
-- 
GitLab