Skip to content

Commit

Permalink
compat: utils: Use <sys/types.h> to define off_t (#46)
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 authored Aug 6, 2024
1 parent a1c6096 commit 5a0884c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion include/cfl/cfl_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
#define strncasecmp _strnicmp
#define strcasecmp _stricmp
#define timegm _mkgmtime
typedef __int64 off_t;
#endif /* _MSC_VER */

#endif
Expand Down
1 change: 1 addition & 0 deletions include/cfl/cfl_utils.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef CFL_UTILS_H
#define CFL_UTILS_H

#include <sys/types.h> /* off_t */
#include <cfl/cfl_sds.h>
#include <cfl/cfl_compat.h>

Expand Down

0 comments on commit 5a0884c

Please sign in to comment.