-/* $Cambridge: exim/src/OS/os.h-Linux,v 1.3 2005/02/17 10:04:41 ph10 Exp $ */
+/* $Cambridge: exim/src/OS/os.h-Linux,v 1.6 2007/10/04 13:23:05 tom Exp $ */
/* Exim: OS-specific C header file for Linux */
#define NO_IP_VAR_H
#define SIG_IGN_WORKS
+/* When using the experimental Domainkeys/DKIM extensions, setting
+HAVE_LINUX_SENDFILE can increase performance on outgoing mail a bit.
+Note: With older glibc versions this setting will conflict with the
+_FILE_OFFSET_BITS=64 setting defined as part of the Linux CFLAGS. */
+
+/* #define HAVE_LINUX_SENDFILE */
+
#define F_FREESP O_TRUNC
typedef struct flock flock_t;
#endif /* __linux__ */
/* End */
+
+/* Fudge added because this Linux doesn't appear to have a definition
+for ip_options in /usr/include/linux/ip.h. */
+
+#define ip_options options