aboutsummaryrefslogtreecommitdiff
path: root/net/samba4/patches/004-missing-headers.patch
blob: 5d294fcb8b24f96cf9a0ad16d1344fc939ce6e71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- a/lib/param/loadparm.h
+++ b/lib/param/loadparm.h
@@ -31,6 +31,7 @@
 #define _LOADPARM_H
 
 #include <talloc.h>
+#include <time.h>
 
 struct parmlist_entry {
 	struct parmlist_entry *prev, *next;
--- a/source3/lib/system_smbd.c
+++ b/source3/lib/system_smbd.c
@@ -27,6 +27,8 @@
 #include "system/passwd.h"
 #include "nsswitch/winbind_client.h"
 #include "../lib/util/setid.h"
+#include <grp.h>
+#include <uuid/uuid.h>
 
 #ifndef HAVE_GETGROUPLIST
 
--- a/source4/torture/local/nss_tests.c
+++ b/source4/torture/local/nss_tests.c
@@ -20,6 +20,8 @@
 */
 
 #include "includes.h"
+#include <grp.h>
+#include <uuid/uuid.h>
 
 #include "torture/torture.h"
 #include "torture/local/proto.h"