NFS - Fix panic if the readdir base offset is beyond the directory EOF
[dragonfly.git] / contrib / wpa_supplicant-0.5.8 / includes.h
blob84308c3a37a2594b4f2b194d91808ab3f392743f
1 /*
2 * wpa_supplicant/hostapd - Default include files
3 * Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi>
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.
9 * Alternatively, this software may be distributed under the terms of BSD
10 * license.
12 * See README and COPYING for more details.
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.
19 #ifndef INCLUDES_H
20 #define INCLUDES_H
22 /* Include possible build time configuration before including anything else */
23 #include "build_config.h"
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>
39 #ifndef CONFIG_TI_COMPILER
40 #ifndef _MSC_VER
41 #include <unistd.h>
42 #endif /* _MSC_VER */
43 #endif /* CONFIG_TI_COMPILER */
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 */
57 #endif /* INCLUDES_H */