1 /*- 2 *********************************************************************** 3 * 4 * $Id: all-includes.h,v 1.12 2012/01/07 08:01:17 mavrik Exp $ 5 * 6 *********************************************************************** 7 * 8 * Copyright 2006-2012 The WebJob Project, All Rights Reserved. 9 * 10 *********************************************************************** 11 */ 12 #ifndef _ALL_INCLUDES_H_INCLUDED 13 #define _ALL_INCLUDES_H_INCLUDED 14 15 #if defined(UNIX) || defined(MINGW32) 16 #include "config.h" 17 #endif 18 19 #include <ctype.h> 20 #ifdef UNIX 21 #include <dirent.h> 22 #endif 23 #include <errno.h> 24 #include <openssl/ssl.h> 25 #include <stdio.h> 26 #include <stdlib.h> 27 #include <string.h> 28 #include <sys/stat.h> 29 #include <sys/types.h> 30 #ifdef UNIX 31 #include <unistd.h> 32 #endif 33 #ifdef WIN32 34 #include <fcntl.h> 35 #include <io.h> 36 #include <tchar.h> 37 #include <windows.h> 38 #endif 39 40 #ifdef USE_AP_SNPRINTF 41 #include <limits.h> 42 #include <math.h> 43 #include <netdb.h> 44 #include "ap_snprintf.h" 45 #define snprintf ap_snprintf 46 #endif 47 48 #include "dsv.h" 49 #include "dsv-pool.h" 50 #include "options.h" 51 #include "ssl.h" 52 #include "ssl-pool.h" 53 #include "webjob-dsvtool.h" 54 55 #ifdef WIN32 56 #ifndef WEBJOB_MINGW32 57 #define fileno _fileno 58 #endif 59 #define fstat _fstat 60 #define snprintf _snprintf 61 #define strcasecmp _stricmp 62 #define stat _stat 63 #endif 64 65 #ifndef MESSAGE_SIZE 66 #define MESSAGE_SIZE 1024 67 #endif 68 69 #endif /* !_ALL_INCLUDES_H_INCLUDED */ 70