summaryrefslogtreecommitdiff
path: root/net/samba416/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba416/files')
-rw-r--r--net/samba416/files/patch-lib_util_time.h10
-rw-r--r--net/samba416/files/patch-source4_torture_ndr_ndr.h11
2 files changed, 21 insertions, 0 deletions
diff --git a/net/samba416/files/patch-lib_util_time.h b/net/samba416/files/patch-lib_util_time.h
new file mode 100644
index 000000000000..792c1d9d4f62
--- /dev/null
+++ b/net/samba416/files/patch-lib_util_time.h
@@ -0,0 +1,10 @@
+--- lib/util/time.h.orig 2022-01-24 10:26:58 UTC
++++ lib/util/time.h
+@@ -27,6 +27,7 @@
+ #include <stdbool.h>
+ #include <stdint.h>
+ #include <talloc.h>
++#include <sys/types.h>
+
+ #ifndef TIME_T_MIN
+ /* we use 0 here, because (time_t)-1 means error */
diff --git a/net/samba416/files/patch-source4_torture_ndr_ndr.h b/net/samba416/files/patch-source4_torture_ndr_ndr.h
new file mode 100644
index 000000000000..e2b7e7623f2c
--- /dev/null
+++ b/net/samba416/files/patch-source4_torture_ndr_ndr.h
@@ -0,0 +1,11 @@
+--- source4/torture/ndr/ndr.h.orig 2022-01-24 10:27:00 UTC
++++ source4/torture/ndr/ndr.h
+@@ -20,6 +20,8 @@
+ #ifndef __TORTURE_NDR_H__
+ #define __TORTURE_NDR_H__
+
++#include <sys/types.h>
++
+ #include "torture/torture.h"
+ #include "librpc/ndr/libndr.h"
+ #include "libcli/security/security.h"