summaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 2e0b2ae..262d26c 100644
--- a/src/util.h
+++ b/src/util.h
@@ -1,7 +1,9 @@
#ifndef fooutilhfoo
#define fooutilhfoo
-char *basename(const char *path);
+#include <sys/types.h>
+
+char *basename(char *path);
ssize_t loop_read(int FILEDES, void *BUFFER, size_t SIZE);
ssize_t loop_write(int FILEDES, const void *BUFFER, size_t SIZE);