--- dhcpcd/src/common.h
+++ dhcpcd/src/common.h
@@ -31,6 +31,7 @@
 
 #include <sys/param.h>
 #include <sys/time.h>
+#include <sys/stat.h>
 #include <stdint.h>
 #include <stdio.h>