mirror of https://github.com/tstack/lnav.git
fix some minor build issues
This commit is contained in:
parent
794f5a125c
commit
c09aa3ba70
|
@ -295,7 +295,9 @@ public:
|
|||
|
||||
void logfile_indexing(logfile &lf, off_t off, size_t total)
|
||||
{
|
||||
assert(off <= total);
|
||||
// XXX assert(off <= total);
|
||||
if (off > total)
|
||||
off = total;
|
||||
|
||||
if (abs(off - this->lo_last_offset) > (128 * 1024) ||
|
||||
(size_t)off == total) {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#include <assert.h>
|
||||
#include <time.h>
|
||||
#include <inttypes.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <string>
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "log_format.hh"
|
||||
#include "log_vtab_impl.hh"
|
||||
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <paths.h>
|
||||
#include <sys/types.h>
|
||||
|
|
Loading…
Reference in New Issue