]> git.corax.cc Git - corax/commitdiff
Add off_t type definition to corax/types.h
authorMatthias Kruk <m@m10k.eu>
Wed, 18 Dec 2019 08:28:35 +0000 (17:28 +0900)
committerMatthias Kruk <m@m10k.eu>
Wed, 18 Dec 2019 08:28:35 +0000 (17:28 +0900)
include/corax/types.h

index a44015fc04955a4cecfa8dc045dc137e4cc862a0..d0a4272f44fa7feae8a6bab1e58ab5ca8da9ac0c 100644 (file)
@@ -37,6 +37,8 @@ typedef u32_t pid_t;
 typedef u32_t uid_t;
 typedef u32_t gid_t;
 
+typedef long long off_t;
+
 #define PID_ANY  ((pid_t)-1)
 #define UID_ROOT ((uid_t)0)
 #define GID_ROOT ((gid_t)0)