summaryrefslogtreecommitdiff
path: root/eth-multiplexer/ethernet.h
diff options
context:
space:
mode:
Diffstat (limited to 'eth-multiplexer/ethernet.h')
-rw-r--r--eth-multiplexer/ethernet.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/eth-multiplexer/ethernet.h b/eth-multiplexer/ethernet.h
index 8efab9b1..a2b2f5ee 100644
--- a/eth-multiplexer/ethernet.h
+++ b/eth-multiplexer/ethernet.h
@@ -23,10 +23,12 @@
#ifndef ETHERNET_H
#define ETHERNET_H
+#include <mach.h>
+#include <net/if_ether.h>
#include <netinet/in.h>
-#include <stdlib.h>
extern mach_port_t ether_port;
+extern char ether_address[ETH_ALEN];
int ethernet_open (char *dev_name, device_t master_device,
struct port_bucket *etherport_bucket,