defs: take ssize_t and off_t in the standard library

This commit is contained in:
Lephe 2021-07-02 09:52:17 +02:00
parent 545db2f9ce
commit 8713d2644f
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495

View file

@ -13,13 +13,11 @@
#include <stdint.h>
/* For human-readable boolean types */
#include <stdbool.h>
/* Common system types: ssize_t, off_t, etc. */
#include <sys/types.h>
/* Fixed-width types for bit fields are quite meaningless */
typedef unsigned int uint;
/* Signed size_t */
typedef signed int ssize_t;
/* Offset in file (used in standard functions) */
typedef unsigned int off_t;
//---
// Structure elements