diff options
| author | John Keeping <[email protected]> | 2015-08-13 11:14:17 +0000 |
|---|---|---|
| committer | Jason A. Donenfeld <[email protected]> | 2015-08-13 13:37:42 +0000 |
| commit | 43620cf6aa62decaf319d00c28297e3b87a4da78 (patch) | |
| tree | 0fcee9ce861ef2a7460b20b2ec5d56e9cafa7e7d /cache.c | |
| parent | configfile.c: don't include system headers directly (diff) | |
| download | cgit-43620cf6aa62decaf319d00c28297e3b87a4da78.tar.gz cgit-43620cf6aa62decaf319d00c28297e3b87a4da78.zip | |
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 <[email protected]>
Diffstat (limited to 'cache.c')
| -rw-r--r-- | cache.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) |
