chiark / gitweb /
Cheer up linux compiler
[disorder] / lib / hreader.c
index 177aa931d7dfc2dd8fed71bfc39680ee74cb8cb1..edb1d839817fa8e31299ba1d1f956bb70c5c6fbc 100644 (file)
 /** @file lib/hreader.c
  * @brief Hands-off reader - read files without keeping them open
  */
 /** @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 "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);
 
 
 static int hreader_fill(struct hreader *h, off_t offset);