chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d868c56
)
Cheer up linux compiler
author
Richard Kettlewell
<rjk@greenend.org.uk>
Mon, 7 Jun 2010 21:18:32 +0000
(22:18 +0100)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Mon, 7 Jun 2010 21:18:32 +0000
(22:18 +0100)
lib/hreader.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/hreader.c
b/lib/hreader.c
index 177aa931d7dfc2dd8fed71bfc39680ee74cb8cb1..edb1d839817fa8e31299ba1d1f956bb70c5c6fbc 100644
(file)
--- a/
lib/hreader.c
+++ b/
lib/hreader.c
@@
-18,12
+18,14
@@
/** @file lib/hreader.c
* @brief Hands-off reader - read files without keeping them open
*/
+#include <config.h>
#include "hreader.h"
#include "mem.h"
#include <string.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <errno.h>
+#include <unistd.h>
static int hreader_fill(struct hreader *h, off_t offset);