summaryrefslogtreecommitdiffstats
path: root/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index 8c69b8e..8d108a3 100644
--- a/utils.h
+++ b/utils.h
@@ -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