aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/file-system.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/file-system.hh')
-rw-r--r--src/libutil/file-system.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libutil/file-system.hh b/src/libutil/file-system.hh
index 1d91ef334..b9b753980 100644
--- a/src/libutil/file-system.hh
+++ b/src/libutil/file-system.hh
@@ -6,7 +6,7 @@
*/
#include "types.hh"
-#include "util.hh"
+#include "file-descriptor.hh"
#include <sys/types.h>
#include <sys/stat.h>
@@ -143,7 +143,6 @@ unsigned char getFileType(const Path & path);
/**
* Read the contents of a file into a string.
*/
-std::string readFile(int fd);
std::string readFile(const Path & path);
void readFile(const Path & path, Sink & sink);