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 committed by Jason A. Donenfeld
コミット 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)