Skip to content

Commit 26722dc

Browse files
committed
Add typedefs for suseconds_t and nlink_t.
1 parent d68aebf commit 26722dc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

basics/include/sys/types.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,11 @@ typedef long long off_t;
1414
/* This is defined to be the same size as size_t. */
1515
typedef long ssize_t;
1616

17+
/* Define this to be 64-bit as its main use is in struct timeval where the
18+
extra space would otherwise be padding. */
19+
typedef long long suseconds_t;
20+
21+
/* Follow x32 in defining this as 64-bit. */
22+
typedef long long nlink_t;
23+
1724
#endif

0 commit comments

Comments
 (0)