2013-04-16 23:57:20 -04:00
# ifndef SYSINCLUDES_H
# define SYSINCLUDES_H
2013-04-16 23:57:48 -04:00
# ident "$Id$"
2013-04-16 23:57:48 -04:00
# ident "Copyright (c) 2007, 2008, 2009 Tokutek Inc. All rights reserved."
# ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11 / 760379 and to the patents and / or patent applications resulting from it."
2013-04-16 23:57:20 -04:00
# ifndef _XOPEN_SOURCE
# define _XOPEN_SOURCE 500
# endif
# define _FILE_OFFSET_BITS 64
2013-04-16 23:57:21 -04:00
// Portability first!
2013-04-16 23:57:27 -04:00
# include "stdint.h"
2013-04-16 23:57:29 -04:00
# include "toku_portability.h"
2013-04-16 23:57:28 -04:00
# include "toku_os.h"
2013-04-16 23:57:21 -04:00
2013-04-16 23:57:28 -04:00
# if TOKU_WINDOWS
2013-04-16 23:57:27 -04:00
# include "zlib.h"
# include "toku_pthread.h"
# include <dirent.h>
# else
2013-04-16 23:57:20 -04:00
# include <dirent.h>
2013-04-16 23:57:20 -04:00
# include <inttypes.h>
2013-04-16 23:57:27 -04:00
# include <toku_pthread.h>
2013-04-16 23:57:20 -04:00
# include <sys/file.h>
2013-04-16 23:57:20 -04:00
# include <sys/resource.h>
2013-04-16 23:57:20 -04:00
# include <sys/time.h>
# include <unistd.h>
# include <zlib.h>
2013-04-16 23:57:21 -04:00
# endif
# include <ctype.h>
# include <errno.h>
# include <malloc.h>
# include <stdio.h>
# include <stdlib.h>
# include <string.h>
2013-04-16 23:57:20 -04:00
# include "block_allocator.h"
# include "brt.h"
# include "brt-internal.h"
# include "cachetable.h"
2013-04-16 23:57:47 -04:00
# include "rwlock.h"
2013-04-16 23:57:20 -04:00
# include "fifo.h"
# include "list.h"
# include "key.h"
# include "kv-pair.h"
# include "leafentry.h"
# include "log-internal.h"
# include "log_header.h"
# include "mempool.h"
# include "rbuf.h"
# include "threadpool.h"
# include "toku_assert.h"
# include "wbuf.h"
# include "../include/db.h"
# endif