blob: 75513fc8c1efd6eb72f18769ff38b90a3a422aba [file] [log] [blame]
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -07001/*
2 * wpa_supplicant/hostapd - Default include files
3 * Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi>
4 *
Dmitry Shmidtc5ec7f52012-03-06 16:33:24 -08005 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -07007 *
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>
Dmitry Shmidtd80a4012015-11-05 16:35:40 -080020#include <stddef.h>
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070021#include <stdio.h>
22#include <stdarg.h>
23#include <string.h>
24#ifndef _WIN32_WCE
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070025#include <signal.h>
26#include <sys/types.h>
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070027#include <errno.h>
28#endif /* _WIN32_WCE */
29#include <ctype.h>
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070030
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070031#ifndef _MSC_VER
32#include <unistd.h>
33#endif /* _MSC_VER */
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070034
35#ifndef CONFIG_NATIVE_WINDOWS
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070036#include <sys/socket.h>
37#include <netinet/in.h>
38#include <arpa/inet.h>
39#ifndef __vxworks
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070040#include <sys/uio.h>
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070041#include <sys/time.h>
42#endif /* __vxworks */
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070043#endif /* CONFIG_NATIVE_WINDOWS */
44
45#endif /* INCLUDES_H */