summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/patches/libpng-1.2.20-vxworks.patch
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/patches/libpng-1.2.20-vxworks.patch')
-rw-r--r--src/3rdparty/patches/libpng-1.2.20-vxworks.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/3rdparty/patches/libpng-1.2.20-vxworks.patch b/src/3rdparty/patches/libpng-1.2.20-vxworks.patch
new file mode 100644
index 000000000..4c49b3fc6
--- /dev/null
+++ b/src/3rdparty/patches/libpng-1.2.20-vxworks.patch
@@ -0,0 +1,13 @@
+diff --git pngconf.h pngconf.h
+index 19e4732..8eb7d35 100644
+--- pngconf.h
++++ pngconf.h
+@@ -344,7 +344,7 @@
+ # endif /* __linux__ */
+ #endif /* PNG_SETJMP_SUPPORTED */
+
+-#ifdef BSD
++#if defined(BSD) && !defined(VXWORKS)
+ # include <strings.h>
+ #else
+ # include <string.h>