00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef _EGG_COMMON_H_
00023 #define _EGG_COMMON_H_
00024
00025 #ifdef __cplusplus
00026 # define BEGIN_C_DECLS extern "C" {
00027 # define END_C_DECLS }
00028 #else
00029 # define BEGIN_C_DECLS
00030 # define END_C_DECLS
00031 #endif
00032
00033 #if HAVE_CONFIG_H
00034 #include <config.h>
00035 #endif
00036
00037 #include <stdio.h>
00038 #include <stdlib.h>
00039
00040 #ifdef HAVE_SYS_TYPES_H
00041 #include <sys/types.h>
00042 #endif
00043
00044 #ifdef HAVE_STRING_H
00045 #include <string.h>
00046 #endif
00047 #ifdef HAVE_STRINGS_H
00048 #include <strings.h>
00049 #endif
00050 #ifdef HAVE_CTYPE_H
00051 #include <ctype.h>
00052 #endif
00053
00054 #ifdef __STDC__
00055 # ifdef HAVE_STDARG_H
00056 # include <stdarg.h>
00057 # else
00058 # ifdef HAVE_STD_ARGS_H
00059 # include <std_args.h>
00060 # endif
00061 # endif
00062 #else
00063 # include <varargs.h>
00064 #endif
00065
00066 #ifdef HAVE_INTTYPES_H
00067 #include <inttypes.h>
00068 #else
00069 #ifdef HAVE_STDINT_H
00070 #include <stdint.h>
00071 #endif
00072 #endif
00073
00074 #ifdef TIME_WITH_SYS_TIME
00075 #include <sys/time.h>
00076 #include <time.h>
00077 #else
00078 #ifdef HAVE_SYS_TIME_H
00079 #include <sys/time.h>
00080 #else
00081 #include <time.h>
00082 #endif
00083 #endif
00084
00085 #include "lib/compat/compat.h"
00086
00087 typedef int (*Function) ();
00088
00089 #endif