summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/sys/dev
diff options
context:
space:
mode:
authorKarel Gardas <karel@functional.vision>2022-04-23 09:35:55 +0200
committerKarel Gardas <karel@functional.vision>2022-06-04 19:54:09 +0200
commit508af74f79f25ac4bca3b250fb09919933d3dffd (patch)
tree14562ee30a19a8c932f5cf225b3fb612affaa8f3 /rtemsbsd/sys/dev
parentUse rtems_task_exit() (diff)
downloadrtems-libbsd-508af74f79f25ac4bca3b250fb09919933d3dffd.tar.bz2
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.
Diffstat (limited to 'rtemsbsd/sys/dev')
-rw-r--r--rtemsbsd/sys/dev/stmac/if_stmac.c1
1 files changed, 1 insertions, 0 deletions
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>