67 lines
1.7 KiB
Diff
67 lines
1.7 KiB
Diff
--- a/lib/smb/ctx.c 2013-12-13 21:29:42.000000000 +0100
|
|
+++ b/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>
|
|
--- a/lib/smb/file.c 2013-12-13 21:29:42.000000000 +0100
|
|
+++ b/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>
|
|
--- a/lib/smb/kiconv.c 2013-12-13 21:29:42.000000000 +0100
|
|
+++ b/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>
|
|
--- a/lib/smb/nls.c 2013-12-13 21:29:42.000000000 +0100
|
|
+++ b/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>
|
|
--- a/lib/smb/print.c 2013-12-13 21:29:42.000000000 +0100
|
|
+++ b/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>
|
|
--- a/lib/smb/subr.c 2013-12-13 21:29:42.000000000 +0100
|
|
+++ b/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>
|