From 5a0884c717ebfba349a0ac3d64beaa1f14e0b564 Mon Sep 17 00:00:00 2001 From: Hiroshi Hatake Date: Tue, 6 Aug 2024 22:14:59 +0900 Subject: [PATCH] compat: utils: Use to define off_t (#46) Signed-off-by: Hiroshi Hatake --- include/cfl/cfl_compat.h | 1 - include/cfl/cfl_utils.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cfl/cfl_compat.h b/include/cfl/cfl_compat.h index 74f98be..4972f90 100644 --- a/include/cfl/cfl_compat.h +++ b/include/cfl/cfl_compat.h @@ -41,7 +41,6 @@ #define strncasecmp _strnicmp #define strcasecmp _stricmp #define timegm _mkgmtime -typedef __int64 off_t; #endif /* _MSC_VER */ #endif diff --git a/include/cfl/cfl_utils.h b/include/cfl/cfl_utils.h index 03ddf73..db9d873 100644 --- a/include/cfl/cfl_utils.h +++ b/include/cfl/cfl_utils.h @@ -1,6 +1,7 @@ #ifndef CFL_UTILS_H #define CFL_UTILS_H +#include /* off_t */ #include #include