From cce1502bfcaba86d2fc40221eb91b00b6b3ea0f9 Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Thu, 22 Mar 2012 10:19:56 +0100 Subject: [PATCH] Win32: substitute uid_t and gui_t and removed a not needed include. --- src/csync.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/csync.h b/src/csync.h index b0eeb18bef..dd2c737415 100644 --- a/src/csync.h +++ b/src/csync.h @@ -39,8 +39,6 @@ extern "C" { #endif -#include "std/c_rbtree.h" - #define CSYNC_STRINGIFY(s) CSYNC_TOSTRING(s) #define CSYNC_TOSTRING(s) #s @@ -109,8 +107,13 @@ struct csync_tree_walk_file_s { const char *path; /* off_t size; */ time_t modtime; +#ifdef _WIN32 + int uid; + int gid; +#else uid_t uid; gid_t gid; +#endif mode_t mode; int type; enum csync_instructions_e instruction;