aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/backend/main/main.c9
-rw-r--r--src/template/alpha2
2 files changed, 9 insertions, 2 deletions
diff --git a/src/backend/main/main.c b/src/backend/main/main.c
index 8d09242bf54..91ec815d8e0 100644
--- a/src/backend/main/main.c
+++ b/src/backend/main/main.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.14 1998/02/26 04:31:58 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.15 1998/03/20 03:55:38 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -15,6 +15,13 @@
#include <string.h>
#include <unistd.h>
+#ifdef alpha
+#include <sys/sysinfo.h>
+#include <machine/hal_sysinfo.h>
+#define ASSEMBLER
+#include <sys/proc.h>
+#undef ASSEMBLER
+#endif
#include "postgres.h"
#ifdef USE_LOCALE
#include <locale.h>
diff --git a/src/template/alpha b/src/template/alpha
index 3da0dfe93a6..ec287496bc8 100644
--- a/src/template/alpha
+++ b/src/template/alpha
@@ -5,7 +5,7 @@ AROPT:crs
# This is defined here because a bunch of clients include tmp/c.h,
# which is where the work is done on HP-UX. It only affects the
# backend on Ultrix and OSF/1.
-CFLAGS:-DNOFIXADE
+CFLAGS:-DNOFIXADE -Dalpha
SHARED_LIB:
ALL:
SRCH_INC: