includes.h revision c5ec7f57ead87efa365800228aa0b09a12d9e6c4
1/*
2 * wpa_supplicant/hostapd - Default include files
3 * Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi>
4 *
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
7 *
8 * This header file is included into all C files so that commonly used header
9 * files can be selected with OS specific ifdef blocks in one place instead of
10 * having to have OS/C library specific selection in many files.
11 */
12
13#ifndef INCLUDES_H
14#define INCLUDES_H
15
16/* Include possible build time configuration before including anything else */
17#include "build_config.h"
18
19#include <stdlib.h>
20#include <stdio.h>
21#include <stdarg.h>
22#include <string.h>
23#ifndef _WIN32_WCE
24#ifndef CONFIG_TI_COMPILER
25#include <signal.h>
26#include <sys/types.h>
27#endif /* CONFIG_TI_COMPILER */
28#include <errno.h>
29#endif /* _WIN32_WCE */
30#include <ctype.h>
31
32#ifndef CONFIG_TI_COMPILER
33#ifndef _MSC_VER
34#include <unistd.h>
35#endif /* _MSC_VER */
36#endif /* CONFIG_TI_COMPILER */
37
38#ifndef CONFIG_NATIVE_WINDOWS
39#ifndef CONFIG_TI_COMPILER
40#include <sys/socket.h>
41#include <netinet/in.h>
42#include <arpa/inet.h>
43#ifndef __vxworks
44#ifndef __SYMBIAN32__
45#include <sys/uio.h>
46#endif /* __SYMBIAN32__ */
47#include <sys/time.h>
48#endif /* __vxworks */
49#endif /* CONFIG_TI_COMPILER */
50#endif /* CONFIG_NATIVE_WINDOWS */
51
52#endif /* INCLUDES_H */
53