4 * Standard header include file to get the most common system definitions
6 * Autor: Oliver Maurhart, <oliver.maurhart@ait.ac.at>
8 * Copyright (C) 2013 AIT Austrian Institute of Technology
9 * AIT Austrian Institute of Technology GmbH
10 * Donau-City-Strasse 1 | 1220 Vienna | Austria
11 * http://www.ait.ac.at
13 * This library is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU Lesser General Public
15 * License version 2.1 as published by the Free Software Foundation.
17 * This library is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * Lesser General Public License for more details.
22 * You should have received a copy of the GNU Lesser General Public
23 * License along with this library; if not, write to the
24 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
25 * Boston, MA 02110-1301, USA.
31 // get definitions found by cmake
34 // ------------------------------------------------------------
37 // C++11 standard and boost stuff
43 # include <condition_variable>
63 # ifdef HAVE_BOOST_LIB
64 # include <boost/algorithm/string.hpp>
65 # include <boost/crc.hpp>
66 # include <boost/filesystem.hpp>
67 # include <boost/format.hpp>
68 # include <boost/program_options.hpp>
69 # include <boost/program_options/detail/config_file.hpp>
70 # include <boost/range.hpp>
71 # include <boost/tokenizer.hpp>
77 // ------------------------------------------------------------
78 // check defs (headers only)
93 #ifdef HAVE_INTTYPES_H
94 # include <inttypes.h>
111 #ifdef HAVE_STDBOOL_H
112 # include <stdbool.h>
122 // time system headers
123 #ifdef HAVE_SYS_TIME_H
124 # include <sys/time.h>
127 #ifdef HAVE_SYS_TIMES_H
128 # include <sys/times.h>
141 #ifdef HAVE_SYS_STAT_H
142 # include <sys/stat.h>
157 #ifdef HAVE_IFADDRS_H
158 # include <ifaddrs.h>
161 #ifdef HAVE_NETINET_IN_H
162 # include <netinet/in.h>
165 #ifdef HAVE_ARPA_INET_H
166 # include <arpa/inet.h>
169 #ifdef HAVE_SYS_SOCKET_H
170 # include <sys/socket.h>
191 #ifdef HAVE_SYS_UIO_H
192 # include <sys/uio.h>
215 #ifdef HAVE_SYS_MMAN_H
216 # include <sys/mman.h>
228 # ifndef FUSE_USE_VERSION
229 # define FUSE_USE_VERSION 30
235 // ------------------------------------------------------------
239 # include <windows.h>
243 // ------------------------------------------------------------
247 # include <execinfo.h>
251 // ------------------------------------------------------------
254 #if defined(__GNUC__) || defined(__GNUCPP__)
255 # define UNUSED __attribute__((unused))