Parent Directory
|
Revision Log
consolidate all random system includes into headers.h
| 1 | vapier | 370 | /* headers.h: include all system headers |
| 2 | * | ||
| 3 | * Copyright 1999-2008 Gentoo Foundation | ||
| 4 | * Licensed under the GPL-2 | ||
| 5 | */ | ||
| 6 | |||
| 7 | #ifndef __SB_HEADERS_H__ | ||
| 8 | #define __SB_HEADERS_H__ | ||
| 9 | |||
| 10 | #include "config.h" | ||
| 11 | |||
| 12 | #ifdef HAVE_DIRENT_H | ||
| 13 | # include <dirent.h> | ||
| 14 | #endif | ||
| 15 | #ifdef HAVE_DLFCN_H | ||
| 16 | # include <dlfcn.h> | ||
| 17 | #endif | ||
| 18 | #ifdef HAVE_ERRNO_H | ||
| 19 | # include <errno.h> | ||
| 20 | #endif | ||
| 21 | #ifdef HAVE_FCNTL_H | ||
| 22 | # include <fcntl.h> | ||
| 23 | #endif | ||
| 24 | #ifdef HAVE_LIBGEN_H | ||
| 25 | # include <libgen.h> | ||
| 26 | #endif | ||
| 27 | #ifdef HAVE_LIMITS_H | ||
| 28 | # include <limits.h> | ||
| 29 | #endif | ||
| 30 | #ifdef HAVE_MEMORY_H | ||
| 31 | # include <memory.h> | ||
| 32 | #endif | ||
| 33 | #ifdef HAVE_SIGNAL_H | ||
| 34 | # include <signal.h> | ||
| 35 | #endif | ||
| 36 | #ifdef HAVE_STDARG_H | ||
| 37 | # include <stdarg.h> | ||
| 38 | #endif | ||
| 39 | #ifdef HAVE_STDDEF_H | ||
| 40 | # include <stddef.h> | ||
| 41 | #endif | ||
| 42 | #ifdef HAVE_STDIO_H | ||
| 43 | # include <stdio.h> | ||
| 44 | #endif | ||
| 45 | #ifdef HAVE_STDLIB_H | ||
| 46 | # include <stdlib.h> | ||
| 47 | #endif | ||
| 48 | #ifdef HAVE_STRING_H | ||
| 49 | # include <string.h> | ||
| 50 | #endif | ||
| 51 | #ifdef HAVE_STRINGS_H | ||
| 52 | # include <strings.h> | ||
| 53 | #endif | ||
| 54 | #ifdef HAVE_UNISTD_H | ||
| 55 | # include <unistd.h> | ||
| 56 | #endif | ||
| 57 | #ifdef HAVE_UTIME_H | ||
| 58 | # include <utime.h> | ||
| 59 | #endif | ||
| 60 | |||
| 61 | #ifdef HAVE_SYS_FILE_H | ||
| 62 | # include <sys/file.h> | ||
| 63 | #endif | ||
| 64 | #ifdef HAVE_SYS_MMAN_H | ||
| 65 | # include <sys/mman.h> | ||
| 66 | #else | ||
| 67 | #error | ||
| 68 | #endif | ||
| 69 | #ifdef HAVE_SYS_PARAM_H | ||
| 70 | # include <sys/param.h> | ||
| 71 | #endif | ||
| 72 | #ifdef HAVE_SYS_STAT_H | ||
| 73 | # include <sys/stat.h> | ||
| 74 | #endif | ||
| 75 | #ifdef HAVE_SYS_TIME_H | ||
| 76 | # include <sys/time.h> | ||
| 77 | #endif | ||
| 78 | #ifdef HAVE_SYS_TYPES_H | ||
| 79 | # include <sys/types.h> | ||
| 80 | #endif | ||
| 81 | #ifdef HAVE_SYS_WAIT_H | ||
| 82 | # include <sys/wait.h> | ||
| 83 | #endif | ||
| 84 | |||
| 85 | #include "localdecls.h" | ||
| 86 | |||
| 87 | #endif |
| ViewVC Help | |
| Powered by ViewVC 1.1.13 |