mcst-linux-kernel/patches-2024.06.26/ntfs-3g_ntfsprogs-2015.3.14/0001-glibc-2.29-compat.patch

37 lines
1011 B
Diff

diff -Naur orig/libntfs-3g/ioctl.c new/libntfs-3g/ioctl.c
--- orig/libntfs-3g/ioctl.c 2019-08-20 11:57:04.164141932 +0000
+++ new/libntfs-3g/ioctl.c 2019-08-20 11:57:39.784140973 +0000
@@ -66,6 +66,8 @@
#include <linux/fs.h>
#endif
+#include <sys/sysmacros.h>
+
#include "compat.h"
#include "debug.h"
#include "bitmap.h"
diff -Naur orig/src/lowntfs-3g.c new/src/lowntfs-3g.c
--- orig/src/lowntfs-3g.c 2019-08-20 12:01:05.312135435 +0000
+++ new/src/lowntfs-3g.c 2019-08-20 12:01:58.028134015 +0000
@@ -87,6 +87,8 @@
#include <linux/fs.h>
#endif
+#include <sys/sysmacros.h>
+
#include "compat.h"
#include "bitmap.h"
#include "attrib.h"
diff -Naur orig/src/ntfs-3g.c new/src/ntfs-3g.c
--- orig/src/ntfs-3g.c 2019-08-20 12:01:05.312135435 +0000
+++ new/src/ntfs-3g.c 2019-08-20 12:01:32.776134695 +0000
@@ -82,6 +82,8 @@
#include <sys/param.h>
#endif /* defined(__APPLE__) || defined(__DARWIN__), ... */
+#include <sys/sysmacros.h>
+
#include "compat.h"
#include "attrib.h"
#include "inode.h"