1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-19 09:15:30 +03:00
aports/testing/openscenegraph/add-missing-include-for-ppc64le.patch
Roberto Oliveira 2b1b68faae testing/openscenegraph: fix build on ppc64le
Add missing include for string.h, that was not been included for ppc64le
2017-06-30 16:28:10 +00:00

13 lines
267 B
Diff

--- OpenSceneGraph-3.4.0/src/OpenThreads/pthreads/PThread.cpp
+++ OpenSceneGraph-3.4.0/src/OpenThreads/pthreads/PThread.cpp
@@ -57,6 +57,10 @@
#include <iostream>
+#ifdef __powerpc64__
+#include <string.h>
+#endif
+
using namespace OpenThreads;
#ifdef DEBUG