summary refs log tree commit diff
path: root/src/Common/Sizes.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/Sizes.hpp')
-rw-r--r--src/Common/Sizes.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Common/Sizes.hpp b/src/Common/Sizes.hpp
index 91422e5..de49d3d 100644
--- a/src/Common/Sizes.hpp
+++ b/src/Common/Sizes.hpp
@@ -1,6 +1,7 @@
 #pragma once
 
 #include <cstdint>
+#include <sys/types.h>
 
 using I8 = int8_t;
 using U8 = uint8_t;
@@ -14,8 +15,8 @@ using U32 = uint32_t;
 using I64 = int64_t;
 using U64 = uint64_t;
 
-using ISize = I64;
-using USize = U64;
+using ISize = ssize_t;
+using USize = size_t;
 
 using F32 = float;
 using F64 = double;