void-packages/srcpkgs/elogind/patches/statx.patch

31 lines
944 B
Diff

Upstream: no, musl only
Source: https://raw.githubusercontent.com/chimera-linux/cports/81f0a3c25df2a841c2d99d752e60296062bf7543/main/elogind/patches/statx.patch
diff --git a/src/basic/mountpoint-util.c b/src/basic/mountpoint-util.c
index ab8744b..59ff466 100644
--- a/src/basic/mountpoint-util.c
+++ b/src/basic/mountpoint-util.c
@@ -11,7 +11,7 @@
//#include "filesystems.h"
#include "fs-util.h"
#include "missing_stat.h"
-//#include "missing_syscall.h"
+#include "missing_syscall.h"
//#include "mkdir.h"
#include "mountpoint-util.h"
#include "nulstr-util.h"
diff --git a/src/basic/stat-util.c b/src/basic/stat-util.c
index d8e0693..f8324ed 100644
--- a/src/basic/stat-util.c
+++ b/src/basic/stat-util.c
@@ -18,7 +18,7 @@
#include "macro.h"
//#include "missing_fs.h"
#include "missing_magic.h"
-//#include "missing_syscall.h"
+#include "missing_syscall.h"
#include "nulstr-util.h"
//#include "parse-util.h"
#include "stat-util.h"