From f8a666a905c8490446e0aacab62e95bb5f823298 Mon Sep 17 00:00:00 2001 From: Hiroshi Hatake Date: Wed, 31 Jul 2024 17:37:03 +0900 Subject: [PATCH] utils: compat: Plug off_t absence on Windows Signed-off-by: Hiroshi Hatake --- include/cfl/cfl_compat.h | 2 +- include/cfl/cfl_utils.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/cfl/cfl_compat.h b/include/cfl/cfl_compat.h index bc1de9a..74f98be 100644 --- a/include/cfl/cfl_compat.h +++ b/include/cfl/cfl_compat.h @@ -41,8 +41,8 @@ #define strncasecmp _strnicmp #define strcasecmp _stricmp #define timegm _mkgmtime +typedef __int64 off_t; #endif /* _MSC_VER */ #endif #endif - diff --git a/include/cfl/cfl_utils.h b/include/cfl/cfl_utils.h index 73c63a4..03ddf73 100644 --- a/include/cfl/cfl_utils.h +++ b/include/cfl/cfl_utils.h @@ -2,6 +2,7 @@ #define CFL_UTILS_H #include +#include struct cfl_split_entry { char *value;