summaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2003-12-23 00:05:15 +0000
committerLennart Poettering <lennart@poettering.net>2003-12-23 00:05:15 +0000
commit33f01df1c95b43b66e2f0bab2b972dd9e03faeb5 (patch)
tree053f3bcff15d9161e6b2f0c942941052de5fb14f /src/util.h
parent51c0330ea15a28d2d7c83a746458dfd5cf1770bc (diff)
it compiles and works basically
git-svn-id: file:///home/lennart/svn/public/ivam2/trunk@9 dbf6933d-3bce-0310-9bcc-ed052ba35b35
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);