diff options
Diffstat (limited to 'cache.c')
| -rw-r--r-- | cache.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| @@ -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 | ||
