void-packages/srcpkgs/fs-utils/patches/fix-sysctl_h.patch

67 lines
1.7 KiB
Diff

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