/* * ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd). * stdinc.h: Pull in all of the necessary system headers * * Copyright (C) 2002 Aaron Sethman * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA * * $Id$ * */ #ifndef STDINC_H /* prevent multiple #includes */ #define STDINC_H #include "config.h" #include "defaults.h" #include #include #include #include #include #ifdef HAVE_STRTOK_R # define strtoken(x, y, z) strtok_r(y, z, x) #endif #include #ifdef HAVE_CRYPT_H #include #endif #ifdef HAVE_LIBCRYPTO #include #include #endif #ifdef HAVE_LIBGEOIP #include #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef HAVE_UNISTD_H #include #endif #ifdef HAVE_SYS_RESOURCE_H #include #endif #include #ifdef HAVE_SYS_WAIT_H #include #endif #ifdef HAVE_SYS_PARAM_H #include #endif #ifdef PATH_MAX #define HYB_PATH_MAX PATH_MAX #else #define HYB_PATH_MAX 4096 #endif #if 0 && __GNUC__ #define AFP(a,b) __attribute__((format (printf, a, b))) #else #define AFP(a,b) #endif #endif