Author: John Keeping <john@keeping.me.uk>
cache.c: fix header order git-compat-util.h may define values that affect how system headers are interpreted, so move sys/sendfile.h after cgit.h (which includes git-compat-util.h). Signed-off-by: John Keeping <john@keeping.me.uk>
cache.c | 6 +++---
diff --git a/cache.c b/cache.c index cd998127cc23e361cd9f53d9d988754fa5faa93d..57c891864ffb8b70447c6db5fd8366f662aadd39 100644 --- a/cache.c +++ b/cache.c @@ -13,12 +13,12 @@ * key. * */ +#include "cgit.h" +#include "cache.h" +#include "html.h" #ifdef HAVE_LINUX_SENDFILE #include <sys/sendfile.h> #endif -#include "cgit.h" -#include "cache.h" -#include "html.h" #define CACHE_BUFSIZE (1024 * 4)