Commit 55ff88d5 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5368 add some benign includes and change one errno usage for portability


git-svn-id: file:///svn/toku/tokudb@48330 c7de825b-a66e-492c-adef-691d508d4ae1
parent 4849845a
......@@ -12,6 +12,7 @@
// Don't include toku_assert.h. Just use assert.h
#include <assert.h>
#include <string.h>
#include <sys/types.h>
#define VISIBLE "__attribute__((__visibility__(\"default\")))"
......
......@@ -7,7 +7,9 @@
/* Tell me the diff between two brt files. */
#include "includes.h"
#include <stdlib.h>
#include <inttypes.h>
#include <limits.h>
static void
format_time(const uint64_t time_int, char *buf) {
......
......@@ -2089,7 +2089,7 @@ toku_maybe_get_engine_status_text (char * buff, int buffsize) {
r = env_get_engine_status_text(env, buff, buffsize);
}
else {
r = ENODATA;
r = EOPNOTSUPP;
snprintf(buff, buffsize, "Engine status not available: disabled by user. This should only happen in test programs.\n");
}
return r;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment