1From a2679731a56748de58a4cf0a46b7a15d75543a88 Mon Sep 17 00:00:00 2001 2From: Andrea Adami <andrea.adami@gmail.com> 3Date: Sun, 29 Apr 2018 00:52:31 +0200 4Subject: [PATCH] vmcore-dmesg: fix warning 5 6 # define __bitwise 7 8Signed-off-by: Andrea Adami <andrea.adami@gmail.com> 9 10--- 11Upstream-Status: Pending 12 13 vmcore-dmesg/vmcore-dmesg.c | 3 +++ 14 1 file changed, 3 insertions(+) 15 16diff --git a/vmcore-dmesg/vmcore-dmesg.c b/vmcore-dmesg/vmcore-dmesg.c 17index c63ac4f..a4e3014 100644 18--- a/vmcore-dmesg/vmcore-dmesg.c 19+++ b/vmcore-dmesg/vmcore-dmesg.c 20@@ -2,6 +2,9 @@ 21 #define _GNU_SOURCE 22 #define _LARGEFILE_SOURCE 1 23 #define _FILE_OFFSET_BITS 64 24+#ifdef __KLIBC__ 25+#include <sys/types.h> 26+#endif 27 #include <endian.h> 28 #include <byteswap.h> 29 #include <stdio.h> 30