diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-11-09 10:29:58 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-11-09 10:29:58 +0000 |
commit | 090b53c17d70324947a49e8f5feb9cdc577cc989 (patch) | |
tree | ec0cd116b154399c850f6f89240e5e6b47d79519 /headers.h | |
parent | cleanup whitespace and comments -- no functional changes (diff) | |
download | sandbox-090b53c17d70324947a49e8f5feb9cdc577cc989.tar.gz sandbox-090b53c17d70324947a49e8f5feb9cdc577cc989.tar.bz2 sandbox-090b53c17d70324947a49e8f5feb9cdc577cc989.zip |
headers.h: consolidate all random system includes into one file
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'headers.h')
-rw-r--r-- | headers.h | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/headers.h b/headers.h new file mode 100644 index 0000000..237de25 --- /dev/null +++ b/headers.h @@ -0,0 +1,87 @@ +/* headers.h: include all system headers + * + * Copyright 1999-2008 Gentoo Foundation + * Licensed under the GPL-2 + */ + +#ifndef __SB_HEADERS_H__ +#define __SB_HEADERS_H__ + +#include "config.h" + +#ifdef HAVE_DIRENT_H +# include <dirent.h> +#endif +#ifdef HAVE_DLFCN_H +# include <dlfcn.h> +#endif +#ifdef HAVE_ERRNO_H +# include <errno.h> +#endif +#ifdef HAVE_FCNTL_H +# include <fcntl.h> +#endif +#ifdef HAVE_LIBGEN_H +# include <libgen.h> +#endif +#ifdef HAVE_LIMITS_H +# include <limits.h> +#endif +#ifdef HAVE_MEMORY_H +# include <memory.h> +#endif +#ifdef HAVE_SIGNAL_H +# include <signal.h> +#endif +#ifdef HAVE_STDARG_H +# include <stdarg.h> +#endif +#ifdef HAVE_STDDEF_H +# include <stddef.h> +#endif +#ifdef HAVE_STDIO_H +# include <stdio.h> +#endif +#ifdef HAVE_STDLIB_H +# include <stdlib.h> +#endif +#ifdef HAVE_STRING_H +# include <string.h> +#endif +#ifdef HAVE_STRINGS_H +# include <strings.h> +#endif +#ifdef HAVE_UNISTD_H +# include <unistd.h> +#endif +#ifdef HAVE_UTIME_H +# include <utime.h> +#endif + +#ifdef HAVE_SYS_FILE_H +# include <sys/file.h> +#endif +#ifdef HAVE_SYS_MMAN_H +# include <sys/mman.h> +#else +#error +#endif +#ifdef HAVE_SYS_PARAM_H +# include <sys/param.h> +#endif +#ifdef HAVE_SYS_STAT_H +# include <sys/stat.h> +#endif +#ifdef HAVE_SYS_TIME_H +# include <sys/time.h> +#endif +#ifdef HAVE_SYS_TYPES_H +# include <sys/types.h> +#endif +#ifdef HAVE_SYS_WAIT_H +# include <sys/wait.h> +#endif + +#include "localdecls.h" + +#endif |