$search
00001 /* 00002 * wpa_supplicant/hostapd - Default include files 00003 * Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi> 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License version 2 as 00007 * published by the Free Software Foundation. 00008 * 00009 * Alternatively, this software may be distributed under the terms of BSD 00010 * license. 00011 * 00012 * See README and COPYING for more details. 00013 * 00014 * This header file is included into all C files so that commonly used header 00015 * files can be selected with OS specific ifdef blocks in one place instead of 00016 * having to have OS/C library specific selection in many files. 00017 */ 00018 00019 #ifndef INCLUDES_H 00020 #define INCLUDES_H 00021 00022 /* Include possible build time configuration before including anything else */ 00023 #include "build_config.h" 00024 00025 #include <stdlib.h> 00026 #include <stdio.h> 00027 #include <stdarg.h> 00028 #include <string.h> 00029 #ifndef _WIN32_WCE 00030 #ifndef CONFIG_TI_COMPILER 00031 #include <signal.h> 00032 #include <sys/types.h> 00033 #endif /* CONFIG_TI_COMPILER */ 00034 #include <errno.h> 00035 #endif /* _WIN32_WCE */ 00036 #include <ctype.h> 00037 #include <time.h> 00038 00039 #ifndef CONFIG_TI_COMPILER 00040 #ifndef _MSC_VER 00041 #include <unistd.h> 00042 #endif /* _MSC_VER */ 00043 #endif /* CONFIG_TI_COMPILER */ 00044 00045 #ifndef CONFIG_NATIVE_WINDOWS 00046 #ifndef CONFIG_TI_COMPILER 00047 #include <sys/socket.h> 00048 #include <netinet/in.h> 00049 #include <arpa/inet.h> 00050 #ifndef __vxworks 00051 #ifndef __SYMBIAN32__ 00052 #include <sys/uio.h> 00053 #endif /* __SYMBIAN32__ */ 00054 #include <sys/time.h> 00055 #endif /* __vxworks */ 00056 #endif /* CONFIG_TI_COMPILER */ 00057 #endif /* CONFIG_NATIVE_WINDOWS */ 00058 00059 #endif /* INCLUDES_H */