Compilation fails otherwise due to -Werror=implicit-function-declaration --- pfinet/ethernet.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/pfinet/ethernet.c b/pfinet/ethernet.c index 9eb33bb..ae738de 100644 --- a/pfinet/ethernet.c +++ b/pfinet/ethernet.c @@ -30,6 +30,7 @@ #include <string.h> #include <error.h> #include <fcntl.h> +#include <unistd.h> #include <linux/netdevice.h> #include <linux/etherdevice.h> -- 2.45.2