diff options
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -6,6 +6,9 @@ #ifndef UTILS_H #define UTILS_H +# include <errno.h> +# include <unistd.h> + typedef struct interval_s interval_t; typedef struct range_s range_t; @@ -65,4 +68,7 @@ xwcscasecmp(const wchar_t * w1s, const wchar_t * w2s); int is_integer(const char * const s); +ssize_t +xread(int fd, void * buf, size_t n); + #endif |