diff options
author | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-14 23:25:08 (EST) |
---|---|---|
committer | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-14 23:25:08 (EST) |
commit | 4b0b7ca249bfa4ecc099c2ca56527eb91776f198 (patch) | |
tree | db5d2602d75a69cc9e1f7f30cbac584f0ab45c45 /libopkg/includes.h | |
parent | 868cbd739052719d5e0580a0fda6101dada1ce1e (diff) |
opkg: re-arrange source code into sub-directories
git-svn-id: http://opkg.googlecode.com/svn/trunk@33 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/includes.h')
-rw-r--r-- | libopkg/includes.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/libopkg/includes.h b/libopkg/includes.h new file mode 100644 index 0000000..5a67001 --- /dev/null +++ b/libopkg/includes.h @@ -0,0 +1,53 @@ +#ifndef INCLUDES_H +#define INCLUDES_H + +#include <stdio.h> + +#if STDC_HEADERS +# include <stdlib.h> +# include <stdarg.h> +# include <stddef.h> +# include <ctype.h> +# include <errno.h> +#else +# if HAVE_STDLIB_H +# include <stdlib.h> +# endif +#endif + +#if HAVE_REGEX_H +# include <regex.h> +#endif + +#if HAVE_STRING_H +# if !STDC_HEADERS && HAVE_MEMORY_H +# include <memory.h> +# endif +/* XXX: What's the right way to pick up GNU's strndup declaration? */ +# if __GNUC__ +# define __USE_GNU 1 +# endif +# include <string.h> +# undef __USE_GNU +#endif + +#if HAVE_STRINGS_H +# include <strings.h> +#endif + +#if HAVE_SYS_STAT_H +# include <sys/stat.h> +#endif + +#if HAVE_SYS_WAIT_H +# include <sys/wait.h> +#endif + +#if HAVE_UNISTD_H +# include <sys/types.h> +# include <unistd.h> +#endif + +// #include "replace/replace.h" + +#endif |