fix some minor build issues

This commit is contained in:
tstack 2010-01-29 15:17:08 -08:00
parent 794f5a125c
commit c09aa3ba70
5 changed files with 10 additions and 1 deletions

View File

@ -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) {

View File

@ -1,6 +1,7 @@
#include "config.h"
#include <stdio.h>
#include <stdarg.h>
#include <string.h>

View File

@ -4,6 +4,7 @@
#include <assert.h>
#include <time.h>
#include <inttypes.h>
#include <sys/types.h>
#include <string>

View File

@ -1,4 +1,6 @@
#include <stdio.h>
#include "log_format.hh"
#include "log_vtab_impl.hh"

View File

@ -1,4 +1,7 @@
#include "config.h"
#include <stdio.h>
#include <errno.h>
#include <paths.h>
#include <sys/types.h>