1From 3294266c6a875c5009065c1ae5d0b86200c4147c 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 6/6] vmcore-dmesg: fix warning 5 6 # define __bitwise 7 8Signed-off-by: Andrea Adami <andrea.adami@gmail.com> 9--- 10 vmcore-dmesg/vmcore-dmesg.c | 3 +++ 11 1 file changed, 3 insertions(+) 12 13diff --git a/vmcore-dmesg/vmcore-dmesg.c b/vmcore-dmesg/vmcore-dmesg.c 14index e340ef4..91e4789 100644 15--- a/vmcore-dmesg/vmcore-dmesg.c 16+++ b/vmcore-dmesg/vmcore-dmesg.c 17@@ -2,6 +2,9 @@ 18 #define _GNU_SOURCE 19 #define _LARGEFILE_SOURCE 1 20 #define _FILE_OFFSET_BITS 64 21+#ifdef __KLIBC__ 22+#include <sys/types.h> 23+#endif 24 #include <endian.h> 25 #include <byteswap.h> 26 #include <stdio.h> 27-- 282.7.4 29 30