2008-02-28 02:34:43 +01:00
|
|
|
/*
|
|
|
|
* wpa_supplicant/hostapd - Default include files
|
|
|
|
* Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi>
|
|
|
|
*
|
2012-02-11 15:46:35 +01:00
|
|
|
* This software may be distributed under the terms of the BSD license.
|
|
|
|
* See README for more details.
|
2008-02-28 02:34:43 +01:00
|
|
|
*
|
|
|
|
* This header file is included into all C files so that commonly used header
|
2009-01-04 14:07:54 +01:00
|
|
|
* files can be selected with OS specific ifdef blocks in one place instead of
|
2008-02-28 02:34:43 +01:00
|
|
|
* having to have OS/C library specific selection in many files.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef INCLUDES_H
|
|
|
|
#define INCLUDES_H
|
|
|
|
|
|
|
|
/* Include possible build time configuration before including anything else */
|
|
|
|
#include "build_config.h"
|
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <string.h>
|
|
|
|
#ifndef _WIN32_WCE
|
|
|
|
#ifndef CONFIG_TI_COMPILER
|
|
|
|
#include <signal.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
#endif /* CONFIG_TI_COMPILER */
|
|
|
|
#include <errno.h>
|
|
|
|
#endif /* _WIN32_WCE */
|
|
|
|
#include <ctype.h>
|
|
|
|
|
|
|
|
#ifndef CONFIG_TI_COMPILER
|
|
|
|
#ifndef _MSC_VER
|
|
|
|
#include <unistd.h>
|
|
|
|
#endif /* _MSC_VER */
|
|
|
|
#endif /* CONFIG_TI_COMPILER */
|
|
|
|
|
|
|
|
#ifndef CONFIG_NATIVE_WINDOWS
|
|
|
|
#ifndef CONFIG_TI_COMPILER
|
|
|
|
#include <sys/socket.h>
|
|
|
|
#include <netinet/in.h>
|
|
|
|
#include <arpa/inet.h>
|
|
|
|
#ifndef __vxworks
|
|
|
|
#include <sys/uio.h>
|
|
|
|
#include <sys/time.h>
|
|
|
|
#endif /* __vxworks */
|
|
|
|
#endif /* CONFIG_TI_COMPILER */
|
|
|
|
#endif /* CONFIG_NATIVE_WINDOWS */
|
|
|
|
|
|
|
|
#endif /* INCLUDES_H */
|