diff options
Diffstat (limited to 'net-fs/samba/files/samba-4.9.2-timespec.patch')
-rw-r--r-- | net-fs/samba/files/samba-4.9.2-timespec.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net-fs/samba/files/samba-4.9.2-timespec.patch b/net-fs/samba/files/samba-4.9.2-timespec.patch new file mode 100644 index 00000000..c82f4af4 --- /dev/null +++ b/net-fs/samba/files/samba-4.9.2-timespec.patch @@ -0,0 +1,21 @@ +From 11e8c14b78e2423041f3846882f74cd6490a3e44 Mon Sep 17 00:00:00 2001 +From: Joan Karadimov <joan@profuzdigital.com> +Date: Thu, 18 Oct 2018 18:16:17 +0300 +Subject: [PATCH] Fix compatibility issues with the timespec struct + +--- + source3/include/libsmbclient.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/source3/include/libsmbclient.h b/source3/include/libsmbclient.h +index 5e4a1715402..6487ea7a8aa 100644 +--- a/source3/include/libsmbclient.h ++++ b/source3/include/libsmbclient.h +@@ -78,6 +78,7 @@ extern "C" { + #include <sys/statvfs.h> + #include <stdint.h> + #include <fcntl.h> ++#include <time.h> + #include <utime.h> + + #define SMBC_BASE_FD 10000 /* smallest file descriptor returned */ |