X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/afe12dd0d6fae1da98dabdab607f5dab22b14345..4fab92fbc2b63bac2d89c1dae69fa1845cb640b7:/src/src/exim.h diff --git a/src/src/exim.h b/src/src/exim.h index 75d14660f..9ae96b2a0 100644 --- a/src/src/exim.h +++ b/src/src/exim.h @@ -2,7 +2,7 @@ * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) University of Cambridge 1995 - 2014 */ +/* Copyright (c) University of Cambridge 1995 - 2016 */ /* See the file NOTICE for conditions of use and distribution. */ @@ -11,6 +11,9 @@ that is needed. They don't all need everything, of course, but it's far too messy to have each one importing its own list, and anyway, most of them need most of these includes. */ +#ifndef EXIM_H +#define EXIM_H + /* Assume most systems have statfs() unless os.h undefines this macro */ #define HAVE_STATFS @@ -490,6 +493,7 @@ config.h, mytypes.h, and store.h, so we don't need to mention them explicitly. #include "dbstuff.h" #include "structs.h" #include "globals.h" +#include "hash.h" #include "functions.h" #include "dbfunctions.h" #include "osfunctions.h" @@ -581,19 +585,10 @@ default to EDQUOT if it exists, otherwise ENOSPC. */ # endif #endif -/* Ensure PATH_MAX is defined */ - -#ifndef PATH_MAX - #ifdef MAXPATHLEN - # define PATH_MAX MAXPATHLEN - #else - # define PATH_MAX 1024 - #endif -#endif - /* DANE w/o DNSSEC is useless */ #if defined(EXPERIMENTAL_DANE) && defined(DISABLE_DNSSEC) - #undef DISABLE_DNSSEC +# undef DISABLE_DNSSEC #endif +#endif /* End of exim.h */