/* $Id: includes.h,v 1.22 2006/05/13 11:09:33 dtucker Exp $ */ /* * Copyright (c) 2004, 2005 Darren Tucker. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #ifndef OPENNTPD_INCLUDES_H #define OPENNTPD_INCLUDES_H #define RCSID(msg) \ static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg } #include "config.h" #include "version.h" #include #include #include #include #include #include #include #include #include #include #include #ifdef HAVE_CTYPE_H # include #endif #ifdef HAVE_STRINGS_H # include /* for bzero */ #endif #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_TIME_H # include #endif #ifdef HAVE_SYS_TIMERS_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_SYS_BITYPES_H # include /* For u_intXX_t */ #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef HAVE_SYS_SOCKET_H # include #endif #ifdef HAVE_SYS_FCNTL_H # include #endif #ifdef HAVE_NETDB_H # include #endif #ifdef HAVE_ARPA_INET_H # include #endif #ifdef HAVE_STDARG_H # include #endif #ifdef HAVE_SYSLOG_H # include #endif #ifdef HAVE_ARPA_NAMESER_H # include #endif #include "defines.h" #ifndef HAVE_SYS_QUEUE_H #include "openbsd-compat/sys-queue.h" #endif #include "openbsd-compat/openbsd-compat.h" #endif /* OPENNTPD_INCLUDES_H */