From 508af74f79f25ac4bca3b250fb09919933d3dffd Mon Sep 17 00:00:00 2001 From: Karel Gardas Date: Sat, 23 Apr 2022 09:35:55 +0200 Subject: [PATCH] if_stmac: fix compilation error (related to crc32_raw move in FreeBSD) FreeBSD in 2019 moved crc32 function into separate gsb_crc32.h header file and probably after libbsd sync with this change if_stmac got broken. --- rtemsbsd/sys/dev/stmac/if_stmac.c | 1 + 1 file changed, 1 insertion(+) diff --git a/rtemsbsd/sys/dev/stmac/if_stmac.c b/rtemsbsd/sys/dev/stmac/if_stmac.c index 614c51b9..7e3e07c7 100644 --- a/rtemsbsd/sys/dev/stmac/if_stmac.c +++ b/rtemsbsd/sys/dev/stmac/if_stmac.c @@ -40,6 +40,7 @@ #include #include #include +#include #include #include