mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
refs #5368 make our db-insert-multiple example (more) portable
git-svn-id: file:///svn/toku/tokudb@48188 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
bf7bd25c4f
commit
169c59122f
1 changed files with 7 additions and 1 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue