From: Igor Fedotov Date: Mon, 3 Apr 2023 12:50:40 +0000 (+0300) Subject: include,win: move uid_t/gid_t declarations to win32/fs_compat.h X-Git-Tag: v18.2.1~138^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=82bb412437d1bb107315860cefe626917db6af98;p=ceph-ci.git include,win: move uid_t/gid_t declarations to win32/fs_compat.h Signed-off-by: Igor Fedotov Signed-off-by: Lucian Petrut (cherry picked from commit e178629962917fcc9bf0868f312feab78242f4b2) --- diff --git a/src/include/compat.h b/src/include/compat.h index c65a6ae4465..1100d69ebb0 100644 --- a/src/include/compat.h +++ b/src/include/compat.h @@ -259,9 +259,6 @@ typedef unsigned int uint; typedef _sigset_t sigset_t; -typedef unsigned int uid_t; -typedef unsigned int gid_t; - typedef unsigned int blksize_t; typedef unsigned __int64 blkcnt_t; typedef unsigned short nlink_t; diff --git a/src/include/win32/fs_compat.h b/src/include/win32/fs_compat.h index 318c8fab756..deeedf071f3 100644 --- a/src/include/win32/fs_compat.h +++ b/src/include/win32/fs_compat.h @@ -42,3 +42,6 @@ #define XATTR_CREATE 1 #define XATTR_REPLACE 2 + +typedef unsigned int uid_t; +typedef unsigned int gid_t;