diff options
author | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-14 23:10:56 (EST) |
---|---|---|
committer | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-14 23:10:56 (EST) |
commit | 8bf49d16a637cca0cd116450dfcabc4c941baf6c (patch) | |
tree | bea96583e7a63f1b87ad4ef07b191f121348fe78 /includes.h | |
parent | 4074befd4db12e78af74f7e1438459125b0b3016 (diff) |
* Add ipkg for future development
git-svn-id: http://opkg.googlecode.com/svn/trunk@3 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'includes.h')
-rw-r--r-- | includes.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/includes.h b/includes.h new file mode 100644 index 0000000..5a67001 --- /dev/null +++ b/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 |