Home | History | Annotate | Download | only in wpa_supplicant
      1 /*
      2  * wpa_supplicant/hostapd - Default include files
      3  * Copyright (c) 2005-2006, Jouni Malinen <j (at) w1.fi>
      4  *
      5  * This program is free software; you can redistribute it and/or modify
      6  * it under the terms of the GNU General Public License version 2 as
      7  * published by the Free Software Foundation.
      8  *
      9  * Alternatively, this software may be distributed under the terms of BSD
     10  * license.
     11  *
     12  * See README and COPYING for more details.
     13  *
     14  * This header file is included into all C files so that commonly used header
     15  * files can be selected with OS specific #ifdefs in one place instead of
     16  * having to have OS/C library specific selection in many files.
     17  */
     18 
     19 #ifndef INCLUDES_H
     20 #define INCLUDES_H
     21 
     22 /* Include possible build time configuration before including anything else */
     23 #include "build_config.h"
     24 
     25 #include <stdlib.h>
     26 #include <stdio.h>
     27 #include <stdarg.h>
     28 #include <string.h>
     29 #ifndef _WIN32_WCE
     30 #ifndef CONFIG_TI_COMPILER
     31 #include <signal.h>
     32 #include <sys/types.h>
     33 #endif /* CONFIG_TI_COMPILER */
     34 #include <errno.h>
     35 #endif /* _WIN32_WCE */
     36 #include <ctype.h>
     37 #include <time.h>
     38 
     39 #ifndef CONFIG_TI_COMPILER
     40 #ifndef _MSC_VER
     41 #include <unistd.h>
     42 #endif /* _MSC_VER */
     43 #endif /* CONFIG_TI_COMPILER */
     44 
     45 #ifndef CONFIG_NATIVE_WINDOWS
     46 #ifndef CONFIG_TI_COMPILER
     47 #include <sys/socket.h>
     48 #include <netinet/in.h>
     49 #include <arpa/inet.h>
     50 #ifndef __vxworks
     51 #include <sys/uio.h>
     52 #include <sys/time.h>
     53 #endif /* __vxworks */
     54 #endif /* CONFIG_TI_COMPILER */
     55 #endif /* CONFIG_NATIVE_WINDOWS */
     56 
     57 #endif /* INCLUDES_H */
     58