diff options
author | Jiri Gaisler <jiri@gaisler.se> | 2020-12-18 17:34:57 +0100 |
---|---|---|
committer | Jiri Gaisler <jiri@gaisler.se> | 2020-12-18 17:34:57 +0100 |
commit | 73267b6a278293b795502193869efda25b2f2a42 (patch) | |
tree | 3702722e449c2b52f43a23ffd114945621a1127d | |
parent | Added support for RISCV32 systems with CLINT/PLIC (diff) | |
download | sis-73267b6a278293b795502193869efda25b2f2a42.tar.bz2 |
Fix build failures on windows2.26
-rw-r--r-- | greth.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -28,7 +28,7 @@ #include <stdlib.h> #include <sys/file.h> #include <unistd.h> -#include <arpa/inet.h> +//#include <arpa/inet.h> #include "sis.h" #include "grlib.h" @@ -63,7 +63,7 @@ static uint32 greth_rxdesc; static uint32 greth_rxbuf; static unsigned char *greth_rxbufptr; static unsigned char greth_mac[6]; -static long unsigned mac; +static uint64 mac; static const char broadcast[] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; int greth_irq; |