summaryrefslogtreecommitdiffstats
path: root/recipes-extended/zlib-qat/zlib-qat/0001-qat_zlib.h-Add-pthread.h-for-MUSL.patch
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2017-09-26 09:17:57 -0700
committerSaul Wold <sgw@linux.intel.com>2017-09-26 09:17:57 -0700
commit4fe91aacc358b690fae06a994001113213f1905b (patch)
tree5e0e29f6bf0ad70543cf8897ecaa3ef5a87060a8 /recipes-extended/zlib-qat/zlib-qat/0001-qat_zlib.h-Add-pthread.h-for-MUSL.patch
parenta98b71ccadc1458bf3a959e328d5ae814eb7e9b3 (diff)
downloadmeta-intel-qat-4fe91aacc358b690fae06a994001113213f1905b.tar.gz
Removal of meta-intel content to make meta-intel-qat standalone
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'recipes-extended/zlib-qat/zlib-qat/0001-qat_zlib.h-Add-pthread.h-for-MUSL.patch')
-rw-r--r--recipes-extended/zlib-qat/zlib-qat/0001-qat_zlib.h-Add-pthread.h-for-MUSL.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes-extended/zlib-qat/zlib-qat/0001-qat_zlib.h-Add-pthread.h-for-MUSL.patch b/recipes-extended/zlib-qat/zlib-qat/0001-qat_zlib.h-Add-pthread.h-for-MUSL.patch
new file mode 100644
index 0000000..b45ae79
--- /dev/null
+++ b/recipes-extended/zlib-qat/zlib-qat/0001-qat_zlib.h-Add-pthread.h-for-MUSL.patch
@@ -0,0 +1,29 @@
1From 30c4a1181cbe696dd1b9f52c8e9422ef8c331e8f Mon Sep 17 00:00:00 2001
2From: Saul Wold <sgw@linux.intel.com>
3Date: Thu, 9 Feb 2017 12:40:47 -0800
4Subject: [PATCH] qat_zlib.h: Add pthread.h for MUSL
5
6MUSL is stricter when it comes to header file inclusion, so add
7the additional header thats needed to compile with MUSL.
8
9Upstream-Status: Pending
10Signed-off-by: Saul Wold <sgw@linux.intel.com>
11---
12 qat_zlib.h | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/qat_zlib.h b/qat_zlib.h
16index 2747f84..d9ac312 100644
17--- a/qat_zlib.h
18+++ b/qat_zlib.h
19@@ -8,6 +8,7 @@
20 #include <stdlib.h>
21 #include <assert.h>
22 #include <time.h>
23+#include <pthread.h>
24
25 #include "cpa_dc.h"
26 #ifdef USE_QAE_MEM
27--
282.7.4
29