kopia lustrzana https://github.com/espressif/esp-idf
85 wiersze
2.2 KiB
C
85 wiersze
2.2 KiB
C
/*
|
|
* wpa_supplicant/hostapd - Default include files
|
|
* Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
* Alternatively, this software may be distributed under the terms of BSD
|
|
* license.
|
|
*
|
|
* See README and COPYING for more details.
|
|
*
|
|
* This header file is included into all C files so that commonly used header
|
|
* files can be selected with OS specific ifdef blocks in one place instead of
|
|
* having to have OS/C library specific selection in many files.
|
|
*/
|
|
|
|
#ifndef INCLUDES_H
|
|
#define INCLUDES_H
|
|
|
|
#include "supplicant_opt.h"
|
|
|
|
#define AES_SMALL_TABLES
|
|
#define CONFIG_NO_RANDOM_POOL
|
|
#define CONFIG_INTERNAL_LIBTOMMATH
|
|
|
|
/* Include possible build time configuration before including anything else */
|
|
#ifndef __ets__
|
|
#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>
|
|
#include <time.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
|
|
#ifndef __vxworks
|
|
#ifndef __SYMBIAN32__
|
|
#endif /* __SYMBIAN32__ */
|
|
#include <sys/time.h>
|
|
#endif /* __vxworks */
|
|
#endif /* CONFIG_TI_COMPILER */
|
|
#endif /* CONFIG_NATIVE_WINDOWS */
|
|
|
|
#else
|
|
// for ETSTimer type
|
|
#if CONFIG_IDF_TARGET_ESP32
|
|
#include "esp32/rom/ets_sys.h"
|
|
#elif CONFIG_IDF_TARGET_ESP32S2
|
|
#include "esp32s2/rom/ets_sys.h"
|
|
#elif CONFIG_IDF_TARGET_ESP32S3
|
|
#include "esp32s3/rom/ets_sys.h"
|
|
#elif CONFIG_IDF_TARGET_ESP32C3
|
|
#include "esp32c3/rom/ets_sys.h"
|
|
#elif CONFIG_IDF_TARGET_ESP32C2
|
|
#include "esp32c2/rom/ets_sys.h"
|
|
#elif CONFIG_IDF_TARGET_ESP32C6
|
|
#include "esp32c6/rom/ets_sys.h"
|
|
#elif CONFIG_IDF_TARGET_ESP32C5
|
|
#include "esp32c5/rom/ets_sys.h"
|
|
#elif CONFIG_IDF_TARGET_ESP32H2
|
|
#include "esp32h2/rom/ets_sys.h"
|
|
#elif CONFIG_IDF_TARGET_ESP32P4
|
|
#include "esp32p4/rom/ets_sys.h"
|
|
#endif
|
|
|
|
#endif /* !__ets__ */
|
|
|
|
#endif /* INCLUDES_H */
|