$NetBSD: patch-ah,v 1.7 2000/07/14 04:44:53 jlam Exp $

--- backend/main/main.c.orig	Wed Jan 26 00:56:30 2000
+++ backend/main/main.c	Wed Jul 12 02:34:38 2000
@@ -14,13 +14,14 @@
  */
 #include <unistd.h>
 
-#if defined(__alpha__) && !defined(linux)
+#if defined(__alpha__) && !defined(linux) && !defined(__NetBSD__)
 #include <sys/sysinfo.h>
 #include "machine/hal_sysinfo.h"
 #define ASSEMBLER
 #include <sys/proc.h>
 #undef ASSEMBLER
 #endif
+#include <sys/param.h>
 
 #include "postgres.h"
 #ifdef USE_LOCALE
