xref: /4.0.0/platform/src/config.cmake.h (revision 9bcd6af3)
1/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2#ifndef CONFIG_H
3#define CONFIG_H 1
4
5#ifdef WIN32
6#include <winsock2.h>
7#include <ws2tcpip.h>
8#include <windows.h>
9
10#else
11
12#if !defined(__cplusplus) && !defined(linux) && !defined(__GNUC__)
13typedef unsigned long long uint64_t;
14typedef long long int64_t;
15#endif
16
17#ifndef _POSIX_PTHREAD_SEMANTICS
18#define _POSIX_PTHREAD_SEMANTICS
19#endif
20
21#include <sys/wait.h>
22#include <sys/socket.h>
23#include <netinet/in.h>
24#include <netdb.h>
25#include <unistd.h>
26#include <sys/stat.h>
27#include <sys/un.h>
28#include <sys/resource.h>
29#include <sys/uio.h>
30#include <netinet/tcp.h>
31#include <arpa/inet.h>
32#include <sys/mman.h>
33#include <pwd.h>
34#include <sys/time.h>
35#include <signal.h>
36#include <inttypes.h>
37
38#endif
39
40/* Common section */
41#include <stdlib.h>
42#include <sys/types.h>
43
44#include <platform/platform.h>
45
46#endif
47