Commit 169c5912 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5368 make our db-insert-multiple example (more) portable


git-svn-id: file:///svn/toku/tokudb@48188 c7de825b-a66e-492c-adef-691d508d4ae1
parent bf7bd25c
......@@ -12,6 +12,7 @@
// a is auto increment
// b, c and d are random
#include "config.h"
#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
......@@ -19,7 +20,12 @@
#include <string.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <byteswap.h>
#if defined(HAVE_BYTESWAP_H)
# include <byteswap.h>
#elif defined(HAVE_LIBKERN_OSBYTEORDER_H)
# include <libkern/OSByteOrder.h>
# define bswap_64 OSSwapInt64
#endif
#include <arpa/inet.h>
#include "db.h"
......
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