1189251Ssam/*
2189251Ssam * wpa_supplicant/hostapd - Default include files
3189251Ssam * Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi>
4189251Ssam *
5189251Ssam * This program is free software; you can redistribute it and/or modify
6189251Ssam * it under the terms of the GNU General Public License version 2 as
7189251Ssam * published by the Free Software Foundation.
8189251Ssam *
9189251Ssam * Alternatively, this software may be distributed under the terms of BSD
10189251Ssam * license.
11189251Ssam *
12189251Ssam * See README and COPYING for more details.
13189251Ssam *
14189251Ssam * This header file is included into all C files so that commonly used header
15189251Ssam * files can be selected with OS specific ifdef blocks in one place instead of
16189251Ssam * having to have OS/C library specific selection in many files.
17189251Ssam */
18189251Ssam
19189251Ssam#ifndef INCLUDES_H
20189251Ssam#define INCLUDES_H
21189251Ssam
22189251Ssam/* Include possible build time configuration before including anything else */
23189251Ssam#include "build_config.h"
24189251Ssam
25189251Ssam#include <stdlib.h>
26189251Ssam#include <stdio.h>
27189251Ssam#include <stdarg.h>
28189251Ssam#include <string.h>
29189251Ssam#ifndef _WIN32_WCE
30189251Ssam#ifndef CONFIG_TI_COMPILER
31189251Ssam#include <signal.h>
32189251Ssam#include <sys/types.h>
33189251Ssam#endif /* CONFIG_TI_COMPILER */
34189251Ssam#include <errno.h>
35189251Ssam#endif /* _WIN32_WCE */
36189251Ssam#include <ctype.h>
37189251Ssam#include <time.h>
38189251Ssam
39189251Ssam#ifndef CONFIG_TI_COMPILER
40189251Ssam#ifndef _MSC_VER
41189251Ssam#include <unistd.h>
42189251Ssam#endif /* _MSC_VER */
43189251Ssam#endif /* CONFIG_TI_COMPILER */
44189251Ssam
45189251Ssam#ifndef CONFIG_NATIVE_WINDOWS
46189251Ssam#ifndef CONFIG_TI_COMPILER
47189251Ssam#include <sys/socket.h>
48189251Ssam#include <netinet/in.h>
49189251Ssam#include <arpa/inet.h>
50189251Ssam#ifndef __vxworks
51189251Ssam#ifndef __SYMBIAN32__
52189251Ssam#include <sys/uio.h>
53189251Ssam#endif /* __SYMBIAN32__ */
54189251Ssam#include <sys/time.h>
55189251Ssam#endif /* __vxworks */
56189251Ssam#endif /* CONFIG_TI_COMPILER */
57189251Ssam#endif /* CONFIG_NATIVE_WINDOWS */
58189251Ssam
59189251Ssam#endif /* INCLUDES_H */
60