X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/852e25c532665a5523f07930030199666aef996c..7d758a6a6842fac6c511039c29d76300e2e21ccd:/src/OS/os.h-FreeBSD diff --git a/src/OS/os.h-FreeBSD b/src/OS/os.h-FreeBSD index bf43e0a3c..9b47de3d1 100644 --- a/src/OS/os.h-FreeBSD +++ b/src/OS/os.h-FreeBSD @@ -1,5 +1,7 @@ /* Exim: OS-specific C header file for FreeBSD */ +#include + #define HAVE_BSD_GETLOADAVG #define HAVE_SETCLASSRESOURCES #define HAVE_MMAP @@ -34,4 +36,11 @@ typedef struct flock flock_t; /* for more specific version constraints, include and look at * __FreeBSD_version */ + +/* When using DKIM, setting OS_SENDFILE can increase +performance on outgoing mail a bit. */ + +#define OS_SENDFILE +extern ssize_t os_sendfile(int, int, off_t *, size_t); + /* End */