From b042d2cd454977b40f6d3431f780b08ef52c4b84 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. --- 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"