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>
这个提交包含在:
John Keeping 2015-08-13 12:14:17 +01:00 提交者 Jason A. Donenfeld
父节点 f2e8ca806d
当前提交 43620cf6aa
共有 1 个文件被更改,包括 3 次插入3 次删除

查看文件

@ -13,12 +13,12 @@
*
*/
#ifdef HAVE_LINUX_SENDFILE
#include <sys/sendfile.h>
#endif
#include "cgit.h"
#include "cache.h"
#include "html.h"
#ifdef HAVE_LINUX_SENDFILE
#include <sys/sendfile.h>
#endif
#define CACHE_BUFSIZE (1024 * 4)