diff --git a/basics/include/sys/types.h b/basics/include/sys/types.h index 0241800..0d03c5c 100644 --- a/basics/include/sys/types.h +++ b/basics/include/sys/types.h @@ -14,4 +14,11 @@ typedef long long off_t; /* This is defined to be the same size as size_t. */ typedef long ssize_t; +/* Define this to be 64-bit as its main use is in struct timeval where the + extra space would otherwise be padding. */ +typedef long long suseconds_t; + +/* Follow x32 in defining this as 64-bit. */ +typedef long long nlink_t; + #endif