Logo Search packages:      
Sourcecode: vdmfec version File versions  Download package

defs.h

#ifndef DEFS_H
#define DEFS_H

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdio.h>

#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif

#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif

#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif

#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#else
# if HAVE_STRINGS_H
#  include <strings.h>
# endif
#endif

#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif

#if HAVE_UNISTD_H
# include <unistd.h>
#endif

#if TIME_WITH_SYS_TIME
# include <sys/time.h>
# include <time.h>
#else
# if HAVE_SYS_TIME_H
#  include <sys/time.h>
# else
#  include <time.h>
# endif
#endif

#if STDC_HEADERS
# include <string.h>
#else
# if !HAVE_MEMCPY
#  define memcpy(d, s, n) bcopy ((s), (d), (n))
#  define memmove(d, s, n) bcopy ((s), (d), (n))
# endif
#endif

#if HAVE_NETINET_IN_H
# include <netinet/in.h>        /* for htonl and ntohl */
#endif

#if HAVE_ERRNO_H
# include <errno.h>
#endif

#if !HAVE_U_CHAR
      typedef unsigned char u_char;
#endif

#if !HAVE_U_INT32_T
# if SIZEOF_INT == 4
      typedef unsigned int u_int32_t;
# else
#  if SIZEOF_LONG == 4
      typedef unsigned long u_int32_t;
#  endif
# endif
#endif

#endif  /* DEFS_H */

Generated by  Doxygen 1.6.0   Back to index