From 7a714c27f653e34986b20bf8b887fe36784f3ba9 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 3 May 2024 11:39:42 -0600 Subject: [PATCH] mi.h: Use ccan/endian/endian.h instead of endian.h When both endian.h and ccan/endian/endian.h are included, we can have __{BIG,LITTLE}_ENDIAN redefined when compiling with clang. Consistenly use ccan/endian/endian.h to eliminate that problem. Signed-off-by: Warner Losh --- src/nvme/mi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvme/mi.h b/src/nvme/mi.h index bd266276d..822ab0d7d 100644 --- a/src/nvme/mi.h +++ b/src/nvme/mi.h @@ -84,7 +84,7 @@ #ifndef _LIBNVME_MI_MI_H #define _LIBNVME_MI_MI_H -#include +#include #include #include "types.h"