diff -Nur a/src/mod_path.c b/src/mod_path.c
--- a/src/mod_path.c	2016-02-24 04:15:10.000000000 +0100
+++ b/src/mod_path.c	2018-08-22 16:58:11.884462070 +0200
@@ -1,6 +1,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <sys/sysmacros.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
