Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/zbxwin32/disk.c')
-rw-r--r--src/libs/zbxwin32/disk.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libs/zbxwin32/disk.c b/src/libs/zbxwin32/disk.c
index 7b88dc80b68..da2bdebe1be 100644
--- a/src/libs/zbxwin32/disk.c
+++ b/src/libs/zbxwin32/disk.c
@@ -17,6 +17,8 @@
** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
**/
+#include "zbxwin32.h"
+
#include "zbxstr.h"
#include "log.h"
@@ -32,7 +34,7 @@
* On error, 0 is returned. *
* *
******************************************************************************/
-zbx_uint64_t get_cluster_size(const char *path, char **error)
+zbx_uint64_t zbx_get_cluster_size(const char *path, char **error)
{
wchar_t *disk = NULL, *wpath = NULL;
unsigned long sectors_per_cluster, bytes_per_sector, path_length;