2014-04-16 04:33:37 +02:00
|
|
|
#ifndef _WIN32
|
|
|
|
#include "../acconf.h"
|
|
|
|
#endif
|
2010-06-18 08:59:55 +02:00
|
|
|
|
2013-01-04 16:01:50 +01:00
|
|
|
#define WIN32_LEAN_AND_MEAN
|
|
|
|
|
2010-05-21 03:19:40 +02:00
|
|
|
// Common C
|
2011-07-15 06:04:34 +02:00
|
|
|
#include <cassert>
|
|
|
|
#include <cerrno>
|
2011-07-27 00:24:59 +02:00
|
|
|
#include <climits>
|
2011-07-15 06:04:34 +02:00
|
|
|
#include <cmath>
|
|
|
|
#include <cstdarg>
|
|
|
|
#include <cstdio>
|
2012-09-25 02:09:42 +02:00
|
|
|
#include <cstdint>
|
2011-07-15 06:04:34 +02:00
|
|
|
#include <cstring>
|
2010-05-21 03:13:36 +02:00
|
|
|
#include <sys/stat.h>
|
2010-06-16 09:49:35 +02:00
|
|
|
#ifdef HAVE_SYS_TIME_H
|
|
|
|
# include <sys/time.h>
|
|
|
|
#else
|
2011-07-27 00:25:10 +02:00
|
|
|
# include <ctime>
|
2010-06-16 09:49:35 +02:00
|
|
|
#endif
|
2010-05-21 03:13:36 +02:00
|
|
|
|
2011-02-22 20:03:03 +01:00
|
|
|
// Unix C
|
|
|
|
#ifndef _WIN32
|
2011-02-23 04:29:30 +01:00
|
|
|
#include <sys/statvfs.h>
|
|
|
|
#include <sys/param.h>
|
2011-02-22 20:03:03 +01:00
|
|
|
#endif
|
|
|
|
|
2010-05-21 03:19:40 +02:00
|
|
|
// Common C++
|
2012-12-22 22:44:54 +01:00
|
|
|
#ifdef _MSC_VER
|
|
|
|
#pragma warning(push)
|
|
|
|
#pragma warning(disable:4996)
|
|
|
|
#endif
|
|
|
|
|
2011-07-15 06:04:34 +02:00
|
|
|
#include <algorithm>
|
2010-05-31 22:55:29 +02:00
|
|
|
#include <deque>
|
2012-09-25 01:35:27 +02:00
|
|
|
#include <functional>
|
2010-07-07 07:24:16 +02:00
|
|
|
#include <iterator>
|
2011-07-15 06:04:34 +02:00
|
|
|
#include <list>
|
2010-05-21 03:13:36 +02:00
|
|
|
#include <map>
|
2012-09-25 01:35:27 +02:00
|
|
|
#include <memory>
|
2011-07-15 06:04:34 +02:00
|
|
|
#include <numeric>
|
2011-12-22 22:10:10 +01:00
|
|
|
#include <set>
|
|
|
|
#include <stdexcept>
|
2010-08-26 20:38:37 +02:00
|
|
|
#include <string>
|
2012-09-25 01:35:27 +02:00
|
|
|
#include <tuple>
|
2011-07-15 06:04:34 +02:00
|
|
|
#include <vector>
|
2010-08-26 20:38:37 +02:00
|
|
|
|
2012-12-22 22:44:54 +01:00
|
|
|
#ifdef _MSC_VER
|
|
|
|
#pragma warning(pop)
|
|
|
|
#endif
|
2010-05-21 03:13:36 +02:00
|
|
|
|
2012-09-25 01:47:38 +02:00
|
|
|
// Boost
|
|
|
|
#include <boost/container/list.hpp>
|
|
|
|
#include <boost/container/map.hpp>
|
2013-05-05 16:54:33 +02:00
|
|
|
#define BOOST_NO_SCOPED_ENUMS
|
|
|
|
#include <boost/filesystem.hpp>
|
|
|
|
#undef BOOST_NO_SCOPED_ENUMS
|
2014-03-21 21:41:33 +01:00
|
|
|
#include <boost/interprocess/streams/bufferstream.hpp>
|