From a0150feed6ddbd1b31053d3881431d1370bf4557 Mon Sep 17 00:00:00 2001
From: Rich Prohaska <prohaska@tokutek.com>
Date: Sun, 24 Aug 2014 12:56:35 -0400
Subject: [PATCH] FT-312 fix centos compile

---
 src/tests/big-shutdown.cc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/tests/big-shutdown.cc b/src/tests/big-shutdown.cc
index 04324148a67..386adc15e57 100644
--- a/src/tests/big-shutdown.cc
+++ b/src/tests/big-shutdown.cc
@@ -97,6 +97,10 @@ PATENT RIGHTS GRANT:
 #include <endian.h>
 #include <toku_time.h>
 
+#ifndef htobe64
+#define htobe64(x) __bswap_64(x)
+#endif
+
 // Insert max_rows key/val pairs into the db
 static void do_inserts(DB_ENV *env, DB *db, uint64_t max_rows, size_t val_size) {
     char val_data[val_size]; memset(val_data, 0, val_size);