summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/client.h4
-rw-r--r--source4/include/rewrite.h3
-rw-r--r--source4/include/structs.h2
3 files changed, 4 insertions, 5 deletions
diff --git a/source4/include/client.h b/source4/include/client.h
index b7f1da28b3..d3c1756045 100644
--- a/source4/include/client.h
+++ b/source4/include/client.h
@@ -38,7 +38,7 @@
* These definitions depend on smb.h
*/
-typedef struct file_info
+struct file_info
{
uint64_t size;
uint16_t mode;
@@ -50,7 +50,7 @@ typedef struct file_info
time_t ctime;
const char *name;
char short_name[13*3]; /* the *3 is to cope with multi-byte */
-} file_info;
+};
struct print_job_info
{
diff --git a/source4/include/rewrite.h b/source4/include/rewrite.h
index 619942cac9..fa2168bed7 100644
--- a/source4/include/rewrite.h
+++ b/source4/include/rewrite.h
@@ -52,7 +52,6 @@ typedef int BOOL;
#include "doserr.h"
#include "enums.h"
-#include "events.h"
/*
* Loopback command offsets.
@@ -76,8 +75,6 @@ typedef int BOOL;
#include "rpc_secdes.h"
-#include "client.h"
-
#define SAFE_NETBIOS_CHARS ". -_"
/* generic iconv conversion structure */
diff --git a/source4/include/structs.h b/source4/include/structs.h
index 24ae2a5ba0..5c7c470a38 100644
--- a/source4/include/structs.h
+++ b/source4/include/structs.h
@@ -106,3 +106,5 @@ union libnet_rpc_connect;
union libnet_RemoteTOD;
struct net_functable;
struct net_context;
+
+struct file_info;