git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
typo
[exim.git]
/
src
/
OS
/
os.h-FreeBSD
diff --git
a/src/OS/os.h-FreeBSD
b/src/OS/os.h-FreeBSD
index bf43e0a3cec0415c6681db719e063a2e5b9cd89a..9b47de3d10b62929a5cd3c89f4d9e636b049d71c 100644
(file)
--- a/
src/OS/os.h-FreeBSD
+++ b/
src/OS/os.h-FreeBSD
@@
-1,5
+1,7
@@
/* Exim: OS-specific C header file for FreeBSD */
/* Exim: OS-specific C header file for FreeBSD */
+#include <sys/types.h>
+
#define HAVE_BSD_GETLOADAVG
#define HAVE_SETCLASSRESOURCES
#define HAVE_MMAP
#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 <sys/param.h> and look at
* __FreeBSD_version */
/* for more specific version constraints, include <sys/param.h> 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 */
/* End */