Skip to content

Commit cc9a25f

Browse files
committed
mctp: don't include linux/mctp.h directly
Commit e35f4a5 ("mctpd: avoid bitfield & implicit enum values in wire format") introduced a #include <linux/mctp.h> for mctp_eid_t. However, we want the ability to fall-back to the in-tree definitions, so use the internal mctp.h instead. This will use mctp.h if available. Fixes: #103 Fixes: e35f4a5 ("mctpd: avoid bitfield & implicit enum values in wire format") Signed-off-by: Jeremy Kerr <[email protected]>
1 parent 46070f6 commit cc9a25f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/mctp-control-spec.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55

66
#include <assert.h>
77
#include <stdint.h>
8-
#include <linux/mctp.h>
8+
9+
#include "mctp.h"
910

1011
/*
1112
* Helper structs and functions for MCTP control messages.

0 commit comments

Comments
 (0)