[rtems-libbsd commit] if_stmac: fix compilation error (related to crc32_raw move in FreeBSD)
Karel Gardas
karel at rtems.org
Sat Jun 4 18:14:04 UTC 2022
Module: rtems-libbsd
Branch: master
Commit: 508af74f79f25ac4bca3b250fb09919933d3dffd
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=508af74f79f25ac4bca3b250fb09919933d3dffd
Author: Karel Gardas <karel at functional.vision>
Date: Sat Apr 23 09:35:55 2022 +0200
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 <sys/module.h>
#include <sys/socket.h>
#include <sys/sockio.h>
+#include <sys/gsb_crc32.h>
#include <net/if.h>
#include <net/ethernet.h>
More information about the vc
mailing list