summaryrefslogtreecommitdiffstats
path: root/XUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'XUtils.h')
-rw-r--r--XUtils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/XUtils.h b/XUtils.h
index a978a0ed..d004785f 100644
--- a/XUtils.h
+++ b/XUtils.h
@@ -14,6 +14,7 @@ in the source distribution for its full text.
#include <stdlib.h> // IWYU pragma: keep
#include <string.h> // IWYU pragma: keep
+#include "Compat.h"
#include "Macros.h"
@@ -63,4 +64,7 @@ char* xStrdup(const char* str) ATTR_NONNULL;
char* xStrndup(const char* str, size_t len) ATTR_NONNULL;
+ssize_t xReadfile(const char* pathname, void* buffer, size_t count);
+ssize_t xReadfileat(openat_arg_t dirfd, const char* pathname, void* buffer, size_t count);
+
#endif