+#if defined(sun) && !defined(BSD) && !defined(SOLARIS)
+# include <vfork.h>
+#endif
+
+#ifdef _POSIX_VERSION
+# define HASSETSID 1 /* has setsid(2) call */
+#endif
+
+#ifdef NeXT
+# define sleep sleepX
+#endif
+
+/*
+** Due to a "feature" in some operating systems such as Ultrix 4.3 and
+** HPUX 8.0, if you receive a "No route to host" message (ICMP message
+** ICMP_UNREACH_HOST) on _any_ connection, all connections to that host
+** are closed. Some firewalls return this error if you try to connect
+** to the IDENT port (113), so you can't receive email from these hosts
+** on these systems. The firewall really should use a more specific
+** message such as ICMP_UNREACH_PROTOCOL or _PORT or _NET_PROHIB.
+*/
+
+#if !defined(ultrix) && !defined(__hpux)
+# define IDENTPROTO 1 /* use IDENT proto (RFC 1413) */
+#endif
+
+/*
+** Remaining definitions should never have to be changed. They are
+** primarily to provide back compatibility for older systems -- for
+** example, it includes some POSIX compatibility definitions
+*/
+
+/* System 5 compatibility */
+#ifndef S_ISREG
+#define S_ISREG(foo) ((foo & S_IFREG) == S_IFREG)
+#endif
+#ifndef S_IWGRP
+#define S_IWGRP 020
+#endif
+#ifndef S_IWOTH
+#define S_IWOTH 002
+#endif
+