#define decstation
#endif
+#if defined (__SVR4) && !defined (SVR4)
+#define SVR4
+#endif
+
#if (defined(sun) && defined(SVR4)) || defined (SOLARIS2)
#define SUNOS_5
#endif
#define KERNEL_FILE "/hp-ux"
#endif
-#if !defined(KERNEL_FILE) && (defined(_SEQUENT_) || defined(MIPS) || defined(SVR4) || defined(ISC) || defined (sgi) || defined(SVR4) || (defined (ardent) && defined (titan)))
+#if !defined(KERNEL_FILE) && (defined(_SEQUENT_) || defined(MIPS) || defined(SVR4) || defined(ISC) || defined (sgi) || (defined (ardent) && defined (titan)))
#define KERNEL_FILE "/unix"
#endif
#ifdef LOAD_AVE_TYPE
#ifndef VMS
+#ifndef __linux__
#ifndef NLIST_STRUCT
#include <a.out.h>
#else /* NLIST_STRUCT */
#ifndef LDAV_SYMBOL
#define LDAV_SYMBOL "_avenrun"
#endif /* LDAV_SYMBOL */
+#endif /* __linux__ */
#else /* VMS */
/* Offset in kmem to seek to read load average, or 0 means invalid. */
static long offset;
-#if !defined(VMS) && !defined(sgi)
+#if !defined(VMS) && !defined(sgi) && !defined(__linux__)
static struct nlist nl[2];
#endif /* Not VMS or sgi */