diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-05-06 19:15:52 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-05-06 19:16:29 +0300 |
commit | 5de854b4fa125b3e560723410750467ec3de22a1 (patch) | |
tree | 20346208b7f0b3972d3451920bc82847c73cfdd2 /external/libgltf | |
parent | ce53796bfaf6df5c4415fda8f641cad8a3e144a6 (diff) |
Include <errno.h>
Change-Id: I55a5ef14ec75095cfe6a490eedd460f21c1c9625
Diffstat (limited to 'external/libgltf')
-rw-r--r-- | external/libgltf/UnpackedTarball_libgltf.mk | 1 | ||||
-rw-r--r-- | external/libgltf/patches/errno.patch | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/external/libgltf/UnpackedTarball_libgltf.mk b/external/libgltf/UnpackedTarball_libgltf.mk index bd2ee0bdd1d4..3405e86d18fe 100644 --- a/external/libgltf/UnpackedTarball_libgltf.mk +++ b/external/libgltf/UnpackedTarball_libgltf.mk @@ -28,6 +28,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,libgltf,\ external/libgltf/patches/remove_extra_include.patch \ external/libgltf/patches/fmod_error_handling.patch \ external/libgltf/patches/extern-C.patch \ + external/libgltf/patches/errno.patch \ )) # vim: set noet sw=4 ts=4: diff --git a/external/libgltf/patches/errno.patch b/external/libgltf/patches/errno.patch new file mode 100644 index 000000000000..81f47f3ef05c --- /dev/null +++ b/external/libgltf/patches/errno.patch @@ -0,0 +1,10 @@ +--- libgltf/src/RenderScene.cpp ++++ libgltf/src/RenderScene.cpp +@@ -5,6 +5,7 @@ + * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
++#include <errno.h>
+ #include "RenderScene.h"
+ #include <glm/gtx/transform.hpp>
+ #include <glm/gtc/matrix_inverse.hpp>
|