+
+#ifdef SOLARIS2
+/* Data type of load average, as read out of kmem. */
+#define LOAD_AVE_TYPE long
+
+/* Convert that into an integer that is 100 for a load average of 1.0 */
+/* This is totally uncalibrated. */
+#define LOAD_AVE_CVT(x) ((int) (((double) (x)) * 100.0 / FSCALE))
+
+#ifndef SOLARIS2_4
+/* j.w.hawtin@lut.ac.uk says Solaris 2.1 on the X86 needs -lkvm, and it
+ already has FSCALE defined in a system header. */
+#define LIBS_MACHINE -lkvm
+
+/* 14/9/84 J.W.Hawtin@lut.ac.uk Solaris 2.1 X86 does not like -traditional
+ with GCC on the C_SWITCH_SYSTEM flags. */
+#ifdef __GNUC__
+#undef C_SWITCH_SYSTEM
+#endif /* GCC */
+#define HAVE_VFORK
+
+#endif
+
+/* configure thinks solaris X86 has gethostname, but it does not work,
+ so undefine it. */
+#undef HAVE_GETHOSTNAME
+
+#else /* not SOLARIS2 */