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>
This commit is contained in:
John Keeping 2015-08-13 12:14:17 +01:00 committed by 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)