summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Gaisler <jiri@gaisler.se>2020-12-18 17:34:57 +0100
committerJiri Gaisler <jiri@gaisler.se>2020-12-18 17:34:57 +0100
commit73267b6a278293b795502193869efda25b2f2a42 (patch)
tree3702722e449c2b52f43a23ffd114945621a1127d
parent36b4b0a9b95a351fc99ca3224503dab9e29af865 (diff)
Fix build failures on windows2.26
-rw-r--r--greth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/greth.c b/greth.c
index f100b91..7e95b16 100644
--- a/greth.c
+++ b/greth.c
@@ -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;