#include <string>
#include <vector>
+#include <stdio.h>
+#include <stdlib.h>
+
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string>
#include <vector>
+#include <stdio.h>
+#include <stdlib.h>
+
#include "base/commandlineflags.h"
#include "glog/logging.h"
#include "glog/raw_logging.h"
void operator=(const LineReader&);
char *FindLineFeed() {
- return reinterpret_cast<char *>
- (memchr(reinterpret_cast<const void *>(bol_), '\n', eod_ - bol_));
+ return reinterpret_cast<char *>(memchr(bol_, '\n', eod_ - bol_));
}
bool BufferIsEmpty() {
const int fd_;
char * const buf_;
const int buf_len_;
- const char *bol_;
+ char *bol_;
char *eol_;
const char *eod_; // End of data in "buf_".
};
#include "utilities.h"
+#include <stdio.h>
+#include <stdlib.h>
+
#include <signal.h>
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>