diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-09 10:41:26 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-09 10:41:26 +0000 |
commit | bbaa3499a8032234fb44af5b951e8e73d10c57e2 (patch) | |
tree | 6e7ff2dca33a2696784b23fcede912ae42769e4f /community/minetest/fix-header-include-namespace.patch | |
parent | 4491f635313e9c287c6b3789aae7fcdac3130c51 (diff) | |
download | aports-bbaa3499a8032234fb44af5b951e8e73d10c57e2.tar.bz2 aports-bbaa3499a8032234fb44af5b951e8e73d10c57e2.tar.xz |
community/minetest: move from main
Diffstat (limited to 'community/minetest/fix-header-include-namespace.patch')
-rw-r--r-- | community/minetest/fix-header-include-namespace.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/community/minetest/fix-header-include-namespace.patch b/community/minetest/fix-header-include-namespace.patch new file mode 100644 index 0000000000..d2f1cac76c --- /dev/null +++ b/community/minetest/fix-header-include-namespace.patch @@ -0,0 +1,22 @@ +diff --git a/src/porting.h b/src/porting.h +index 492c9d3..39499ef 100644 +--- a/src/porting.h ++++ b/src/porting.h +@@ -59,6 +59,8 @@ with this program; if not, write to the Free Software Foundation, Inc., + #else + #include <unistd.h> + #include <stdint.h> //for uintptr_t ++ #include <sys/time.h> ++ #include <time.h> + + #if (defined(linux) || defined(__linux) || defined(__GNU__)) && !defined(_GNU_SOURCE) + #define _GNU_SOURCE +@@ -190,8 +192,6 @@ void initIrrlicht(irr::IrrlichtDevice * ); + } + + #else // Posix +-#include <sys/time.h> +-#include <time.h> + #if defined(__MACH__) && defined(__APPLE__) + #include <mach/clock.h> + #include <mach/mach.h> |