void-packages/srcpkgs/diod/patches/fix-ftbfs.patch

22 lines
454 B
Diff

--- diod/ops.c
+++ diod/ops.c
@@ -69,6 +69,7 @@
#include <pthread.h>
#include <errno.h>
#include <sys/types.h>
+#include <sys/sysmacros.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/statfs.h>
--- diod/xattr.c
+++ diod/xattr.c
@@ -39,7 +39,7 @@
#include <errno.h>
#include <sys/types.h>
#include <sys/file.h>
-#include <attr/xattr.h>
+#include <sys/xattr.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include <sys/socket.h>