diff --git a/master/ethernet.h b/master/ethernet.h
index f14a8e8774dc485ac487a338608a3708d17bfe86..109349d70b5366be5363b2f67bee18cf4714b237 100644
--- a/master/ethernet.h
+++ b/master/ethernet.h
@@ -39,6 +39,7 @@
 
 #include <linux/list.h>
 #include <linux/netdevice.h>
+#include <linux/semaphore.h>
 
 #include "globals.h"
 #include "slave.h"