Browse Source

Add typedefs for suseconds_t and nlink_t.

pull/7/head
Dan Gohman 6 years ago
parent
commit
26722dc857
  1. 7
      basics/include/sys/types.h

7
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

Loading…
Cancel
Save