aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-12-31 03:34:01 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-12-31 03:34:01 +0000
commitfada8ee41f166fb1cb2c6ce000f9b746b9142379 (patch)
treeb8f9ebc6e592b892cf4ddb98e7a619c05816c870 /src/backend
parent4723b2b99bc2d4b52a7c8a047485707aeb643895 (diff)
downloadpostgresql-fada8ee41f166fb1cb2c6ce000f9b746b9142379.tar.gz
postgresql-fada8ee41f166fb1cb2c6ce000f9b746b9142379.zip
NetBSD/Alpha porting fixes from tom@minnesota.com.
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/main/main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/backend/main/main.c b/src/backend/main/main.c
index 81f4c37219d..66ccbee7180 100644
--- a/src/backend/main/main.c
+++ b/src/backend/main/main.c
@@ -13,7 +13,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.35 2000/11/25 03:45:47 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.36 2000/12/31 03:34:01 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -25,13 +25,16 @@
#include <locale.h>
#endif
-#if defined(__alpha) && !defined(linux) && !defined(__FreeBSD__)
+#if defined(__alpha) && !defined(linux) && !defined(__FreeBSD__) && !defined(__NetBSD__)
#include <sys/sysinfo.h>
#include "machine/hal_sysinfo.h"
#define ASSEMBLER
#include <sys/proc.h>
#undef ASSEMBLER
#endif
+#if defined(__NetBSD__)
+#include <sys/param.h>
+#endif
#include "miscadmin.h"
#include "bootstrap/bootstrap.h"