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 <sys/module.h>
 #include <sys/socket.h>
 #include <sys/sockio.h>
+#include <sys/gsb_crc32.h>
 
 #include <net/if.h>
 #include <net/ethernet.h>
-- 
2.25.1

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to