From 4f4c8c10379696c972a324ab99be39e427cdfcde Mon Sep 17 00:00:00 2001 From: Laura Abbott Date: Thu, 7 Mar 2019 10:39:36 -0800 Subject: Fix for compilation error linked to rhbz 1686419 --- 0001-Fix-from-Arnd-for-compilation-error.patch | 27 ++++++++++++++++++++++++++ kernel.spec | 3 +++ 2 files changed, 30 insertions(+) create mode 100644 0001-Fix-from-Arnd-for-compilation-error.patch diff --git a/0001-Fix-from-Arnd-for-compilation-error.patch b/0001-Fix-from-Arnd-for-compilation-error.patch new file mode 100644 index 000000000..6b9d7e2a0 --- /dev/null +++ b/0001-Fix-from-Arnd-for-compilation-error.patch @@ -0,0 +1,27 @@ +From 4bab8719d0712b13063cdd0c0a3d24984bcd8b1f Mon Sep 17 00:00:00 2001 +From: Laura Abbott +Date: Thu, 7 Mar 2019 10:37:06 -0800 +Subject: [PATCH] Fix from Arnd for compilation error + +Signed-off-by: Laura Abbott +--- + include/uapi/asm-generic/socket.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/include/uapi/asm-generic/socket.h b/include/uapi/asm-generic/socket.h +index c8b430cb6dc4..8c1391c89171 100644 +--- a/include/uapi/asm-generic/socket.h ++++ b/include/uapi/asm-generic/socket.h +@@ -2,8 +2,8 @@ + #ifndef __ASM_GENERIC_SOCKET_H + #define __ASM_GENERIC_SOCKET_H + ++#include + #include +-#include + + /* For setsockopt(2) */ + #define SOL_SOCKET 1 +-- +2.20.1 + diff --git a/kernel.spec b/kernel.spec index 964caa316..5b44b51be 100644 --- a/kernel.spec +++ b/kernel.spec @@ -612,6 +612,9 @@ Patch509: i915-enable-fastboot-on-skylake.patch # fastboot by default on VLV/CHV (BYT/CHT), queued in -next for merging into 5.1 Patch510: i915-enable-fastboot-on-vlv-chv.patch +# rhbz 1686419 +Patch511: 0001-Fix-from-Arnd-for-compilation-error.patch + # END OF PATCH DEFINITIONS %endif -- cgit