diff options
author | kwolekr <kwolekr@minetest.net> | 2015-05-19 02:38:48 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2015-05-19 02:38:48 -0400 |
commit | 43702ec6ac0fae7c8ef04be82bcca72ba9bec017 (patch) | |
tree | 0a71aa6991739c0114f156bdb82b48b0392931f5 /src | |
parent | 6c5a6967ecc162befc44f1adf15bcc9d11658ff7 (diff) | |
download | minetest-43702ec6ac0fae7c8ef04be82bcca72ba9bec017.tar.gz minetest-43702ec6ac0fae7c8ef04be82bcca72ba9bec017.tar.bz2 minetest-43702ec6ac0fae7c8ef04be82bcca72ba9bec017.zip |
Fix build with libstdc++
libstdc++ doesn't include <cstring> inside of <string>, unlike libc++.
Diffstat (limited to 'src')
-rw-r--r-- | src/objdef.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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" |