summaryrefslogtreecommitdiff
path: root/databases/postgresql/patches/patch-ah
blob: 8114e9c0081580f1bb4b2ce96f455db8ad2a55e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$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