diff options
-rw-r--r-- | cache.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cache.c b/cache.c index cd99812..57c8918 100644 --- a/cache.c +++ b/cache.c | |||
@@ -13,12 +13,12 @@ | |||
13 | * | 13 | * |
14 | */ | 14 | */ |
15 | 15 | ||
16 | #ifdef HAVE_LINUX_SENDFILE | ||
17 | #include <sys/sendfile.h> | ||
18 | #endif | ||
19 | #include "cgit.h" | 16 | #include "cgit.h" |
20 | #include "cache.h" | 17 | #include "cache.h" |
21 | #include "html.h" | 18 | #include "html.h" |
19 | #ifdef HAVE_LINUX_SENDFILE | ||
20 | #include <sys/sendfile.h> | ||
21 | #endif | ||
22 | 22 | ||
23 | #define CACHE_BUFSIZE (1024 * 4) | 23 | #define CACHE_BUFSIZE (1024 * 4) |
24 | 24 | ||