chiark / gitweb /
Cheer up linux compiler
authorRichard Kettlewell <rjk@greenend.org.uk>
Mon, 7 Jun 2010 21:18:32 +0000 (22:18 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Mon, 7 Jun 2010 21:18:32 +0000 (22:18 +0100)
lib/hreader.c

index 177aa931d7dfc2dd8fed71bfc39680ee74cb8cb1..edb1d839817fa8e31299ba1d1f956bb70c5c6fbc 100644 (file)
 /** @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);