/* * binkleyforce -- unix FTN mailer project * * Copyright (c) 1998-2000 Alexander Belkin, 2:5020/1398.11 * * 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. * * $Id$ */ #ifndef _INCLUDES_H_ #define _INCLUDES_H_ #include "config.h" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include /* * Has ANSI C headers? */ #ifdef STDC_HEADERS # include # include #else # include #endif #ifdef HAVE_SYS_WAIT_H # include #endif #ifndef WEXITSTATUS # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) #endif #ifndef WIFEXITED # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) #endif #ifdef HAVE_FCNTL_H #include #endif #ifdef HAVE_DIRENT_H # include # define NAMLEN(dirent) strlen((dirent)->d_name) #else # define dirent direct # define NAMLEN(dirent) (dirent)->d_namlen # ifdef HAVE_NDIR_H # include # endif # ifdef HAVE_SYS_NDIR_H # include # endif # ifdef HAVE_SYS_DIR_H # include # endif #endif #ifdef HAVE_SYS_FILE_H #include #endif #ifdef HAVE_SYS_IOCTL_H #include #endif #ifdef HAVE_SYS_PARAM_H #include #endif #ifdef HAVE_SYS_MOUNT_H #include #endif #ifdef HAVE_SYS_STATFS_H #include #endif #ifdef HAVE_SYS_STATVFS_H #include #endif #ifdef HAVE_SYS_VFS_H #include #endif #if TIME_WITH_SYS_TIME # include # include #elif HAVE_SYS_TIME # include #else # include #endif #ifdef HAVE_UNISTD_H #include #endif #ifdef HAVE_TERMIOS_H #include #endif #ifdef HAVE_SYS_TERMIOX_H #include #endif #ifdef HAVE_SYS_SELECT_H #include #endif #ifdef USE_SYSLOG #include #endif /* * Include OS dependent information */ #include "os.h" /* * Include version information */ #include "version.h" /* * Include main defines, constants */ #include "bforce.h" #endif