diff --git a/ethernet.c b/ethernet.c
index 3be205fd013b21cdc2a6cf8560de339a845f4f4d..fb73ec3260042bfc26e0ea8a4f0e43fdb4b972a1 100644
--- a/ethernet.c
+++ b/ethernet.c
@@ -34,7 +34,7 @@
#include <linux/mii.h>
#include <net/if.h>
-#include "easy.h"
+#include <easy/easy.h>
#include "ethernet.h"
diff --git a/test_stub/stub.c b/test_stub/stub.c
index e244500c68d70ccb05c2b46999a4ec88fa8d59e0..5ce2d7c850dd99b0aac2ba90f54e0d4739586585 100644
--- a/test_stub/stub.c
+++ b/test_stub/stub.c
@@ -33,7 +33,7 @@
#include <unistd.h>
#include <stdlib.h>
-#include "easy.h"
+#include <easy/easy.h>
#include "ethernet.h"
#include "stub.h"
@@ -43,7 +43,7 @@ int test_eth_set_link_settings(const char *name, struct eth_link link)
return 0;
}
-int test_eth_get_link_settings(const char *name, struct eth_link link)
+int test_eth_get_link_settings(const char *name, struct eth_link *link)
{
return 0;
}