1/* 2 * $Id: includes.h,v 1.14 2007/10/25 19:29:40 psavola Exp $ 3 * 4 * Authors: 5 * Lars Fenneberg <lf@elemental.net> 6 * 7 * This software is Copyright 1996,1997 by the above mentioned author(s), 8 * All Rights Reserved. 9 * 10 * The license which is distributed with this software in the file COPYRIGHT 11 * applies to this software. If your distribution is missing this file, you 12 * may request it from <pekkas@netcore.fi>. 13 * 14 */ 15 16#ifndef INCLUDES_H 17#define INCLUDES_H 18 19#include <config.h> 20 21#include <string.h> 22#include <stdio.h> 23#include <stdarg.h> 24#include <stdlib.h> 25#include <time.h> 26#include <syslog.h> 27#include <unistd.h> 28#include <errno.h> 29#include <signal.h> 30#include <netdb.h> 31#include <pwd.h> 32#include <grp.h> 33 34#include <sys/types.h> 35#ifdef HAVE_INTTYPES_H 36# include <inttypes.h> 37#endif 38 39#ifdef HAVE_SYS_PARAM_H 40# include <sys/param.h> 41#else 42# ifdef HAVE_MACHINE_PARAM_H 43# include <machine/param.h> 44# endif 45# ifdef HAVE_MACHINE_LIMITS_H 46# include <machine/limits.h> 47# endif 48#endif 49 50#if TIME_WITH_SYS_TIME 51# include <sys/time.h> 52# include <time.h> 53#else 54# if HAVE_SYS_TIME_H 55# include <sys/time.h> 56# else 57# include <time.h> 58# endif 59#endif 60 61#include <sys/ioctl.h> 62#include <sys/socket.h> 63#include <sys/time.h> 64#include <sys/uio.h> 65 66#include <sys/stat.h> 67#include <fcntl.h> 68 69#include <netinet/in.h> 70 71#include <netinet/ip6.h> 72#include <netinet/icmp6.h> 73 74#include <arpa/inet.h> 75 76#include <sys/sysctl.h> 77 78#include <net/if.h> 79 80#ifdef HAVE_NET_IF_DL_H 81# include <net/if_dl.h> 82#endif 83#ifdef HAVE_NET_IF_TYPES_H 84# include <net/if_types.h> 85#endif 86#if defined(HAVE_NET_IF_ARP_H) && !defined(ARPHRD_ETHER) 87# include <net/if_arp.h> 88#endif /* defined(HAVE_NET_IF_ARP_H) && !defined(ARPHRD_ETHER) */ 89 90#ifdef HAVE_SYS_SOCKIO_H 91# include <sys/sockio.h> 92#endif 93 94#ifdef HAVE_GETOPT_H 95# include <getopt.h> 96#endif 97 98#ifdef HAVE_IFADDRS_H 99# include <ifaddrs.h> 100#endif 101 102#endif /* INCLUDES_H */ 103