fs-utils: fix build w/ glibc-2.32
This commit is contained in:
parent
7f658075e4
commit
b43eb4f27a
|
@ -0,0 +1,66 @@
|
|||
--- lib/smb/ctx.c 2013-12-13 21:29:42.000000000 +0100
|
||||
+++ lib/smb/ctx.c 2021-01-16 10:26:44.803835850 +0100
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
|
||||
#include <sys/param.h>
|
||||
-#include <sys/sysctl.h>
|
||||
+#include <linux/sysctl.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/mount.h>
|
||||
#include <fcntl.h>
|
||||
--- lib/smb/file.c 2013-12-13 21:29:42.000000000 +0100
|
||||
+++ lib/smb/file.c 2021-01-16 10:26:41.672690378 +0100
|
||||
@@ -33,7 +33,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
-#include <sys/sysctl.h>
|
||||
+#include <linux/sysctl.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/mount.h>
|
||||
#include <fcntl.h>
|
||||
--- lib/smb/kiconv.c 2013-12-13 21:29:42.000000000 +0100
|
||||
+++ lib/smb/kiconv.c 2021-01-16 10:26:38.368536869 +0100
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/types.h>
|
||||
-#include <sys/sysctl.h>
|
||||
+#include <linux/sysctl.h>
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
#include <netsmb/iconv.h>
|
||||
--- lib/smb/nls.c 2013-12-13 21:29:42.000000000 +0100
|
||||
+++ lib/smb/nls.c 2021-01-16 10:26:35.772416254 +0100
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/types.h>
|
||||
-#include <sys/sysctl.h>
|
||||
+#include <linux/sysctl.h>
|
||||
#include <ctype.h>
|
||||
#ifndef APPLE
|
||||
#include <dlfcn.h>
|
||||
--- lib/smb/print.c 2013-12-13 21:29:42.000000000 +0100
|
||||
+++ lib/smb/print.c 2021-01-16 10:26:32.593268552 +0100
|
||||
@@ -33,7 +33,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
-#include <sys/sysctl.h>
|
||||
+#include <linux/sysctl.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/mount.h>
|
||||
#include <fcntl.h>
|
||||
--- lib/smb/subr.c 2013-12-13 21:29:42.000000000 +0100
|
||||
+++ lib/smb/subr.c 2021-01-16 10:26:30.153155186 +0100
|
||||
@@ -35,7 +35,7 @@
|
||||
#include <sys/param.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/errno.h>
|
||||
-#include <sys/sysctl.h>
|
||||
+#include <linux/sysctl.h>
|
||||
#include <sys/syscall.h>
|
||||
#include <unistd.h>
|
||||
#include <ctype.h>
|
Loading…
Reference in New Issue