1*03f9172cSAndroid Build Coastguard Worker /* 2*03f9172cSAndroid Build Coastguard Worker * wpa_supplicant/hostapd - Default include files 3*03f9172cSAndroid Build Coastguard Worker * Copyright (c) 2005-2006, Jouni Malinen <[email protected]> 4*03f9172cSAndroid Build Coastguard Worker * 5*03f9172cSAndroid Build Coastguard Worker * This software may be distributed under the terms of the BSD license. 6*03f9172cSAndroid Build Coastguard Worker * See README for more details. 7*03f9172cSAndroid Build Coastguard Worker * 8*03f9172cSAndroid Build Coastguard Worker * This header file is included into all C files so that commonly used header 9*03f9172cSAndroid Build Coastguard Worker * files can be selected with OS specific ifdef blocks in one place instead of 10*03f9172cSAndroid Build Coastguard Worker * having to have OS/C library specific selection in many files. 11*03f9172cSAndroid Build Coastguard Worker */ 12*03f9172cSAndroid Build Coastguard Worker 13*03f9172cSAndroid Build Coastguard Worker #ifndef INCLUDES_H 14*03f9172cSAndroid Build Coastguard Worker #define INCLUDES_H 15*03f9172cSAndroid Build Coastguard Worker 16*03f9172cSAndroid Build Coastguard Worker /* Include possible build time configuration before including anything else */ 17*03f9172cSAndroid Build Coastguard Worker #include "build_config.h" 18*03f9172cSAndroid Build Coastguard Worker 19*03f9172cSAndroid Build Coastguard Worker #include <stdlib.h> 20*03f9172cSAndroid Build Coastguard Worker #include <stddef.h> 21*03f9172cSAndroid Build Coastguard Worker #include <stdbool.h> 22*03f9172cSAndroid Build Coastguard Worker #include <stdio.h> 23*03f9172cSAndroid Build Coastguard Worker #include <stdarg.h> 24*03f9172cSAndroid Build Coastguard Worker #include <string.h> 25*03f9172cSAndroid Build Coastguard Worker #ifndef _WIN32_WCE 26*03f9172cSAndroid Build Coastguard Worker #include <signal.h> 27*03f9172cSAndroid Build Coastguard Worker #include <sys/types.h> 28*03f9172cSAndroid Build Coastguard Worker #include <errno.h> 29*03f9172cSAndroid Build Coastguard Worker #endif /* _WIN32_WCE */ 30*03f9172cSAndroid Build Coastguard Worker #include <ctype.h> 31*03f9172cSAndroid Build Coastguard Worker 32*03f9172cSAndroid Build Coastguard Worker #ifndef _MSC_VER 33*03f9172cSAndroid Build Coastguard Worker #include <unistd.h> 34*03f9172cSAndroid Build Coastguard Worker #endif /* _MSC_VER */ 35*03f9172cSAndroid Build Coastguard Worker 36*03f9172cSAndroid Build Coastguard Worker #ifndef CONFIG_NATIVE_WINDOWS 37*03f9172cSAndroid Build Coastguard Worker #include <sys/socket.h> 38*03f9172cSAndroid Build Coastguard Worker #include <netinet/in.h> 39*03f9172cSAndroid Build Coastguard Worker #include <arpa/inet.h> 40*03f9172cSAndroid Build Coastguard Worker #ifndef __vxworks 41*03f9172cSAndroid Build Coastguard Worker #include <sys/uio.h> 42*03f9172cSAndroid Build Coastguard Worker #include <sys/time.h> 43*03f9172cSAndroid Build Coastguard Worker #endif /* __vxworks */ 44*03f9172cSAndroid Build Coastguard Worker #endif /* CONFIG_NATIVE_WINDOWS */ 45*03f9172cSAndroid Build Coastguard Worker 46*03f9172cSAndroid Build Coastguard Worker #endif /* INCLUDES_H */ 47