]> gitweb.ps.run Git - ps-cgit/blobdiff - cache.c
cgit.c: remove useless null check
[ps-cgit] / cache.c
diff --git a/cache.c b/cache.c
index cd998127cc23e361cd9f53d9d988754fa5faa93d..57c891864ffb8b70447c6db5fd8366f662aadd39 100644 (file)
--- a/cache.c
+++ b/cache.c
  *
  */
 
  *
  */
 
-#ifdef HAVE_LINUX_SENDFILE
-#include <sys/sendfile.h>
-#endif
 #include "cgit.h"
 #include "cache.h"
 #include "html.h"
 #include "cgit.h"
 #include "cache.h"
 #include "html.h"
+#ifdef HAVE_LINUX_SENDFILE
+#include <sys/sendfile.h>
+#endif
 
 #define CACHE_BUFSIZE (1024 * 4)
 
 
 #define CACHE_BUFSIZE (1024 * 4)