diod: fix build
This commit is contained in:
parent
62ff60530f
commit
76e3edda22
1 changed files with 21 additions and 0 deletions
21
srcpkgs/diod/patches/fix-ftbfs.patch
Normal file
21
srcpkgs/diod/patches/fix-ftbfs.patch
Normal file
|
@ -0,0 +1,21 @@
|
|||
--- 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>
|
Loading…
Reference in a new issue