void-packages/srcpkgs/diod/patches/fix-ftbfs.patch
2019-12-18 00:12:15 +01:00

21 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>