X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/852e25c532665a5523f07930030199666aef996c..b7663a25f7748a8ed74209e2f6d801ee311b9252:/src/OS/os.h-FreeBSD?ds=sidebyside 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 */