summaryrefslogtreecommitdiff
path: root/cad/fasthenry/patches/patch-au
blob: 7d207e99faeb3d97bc1df6b1dc6582981e90826d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-au,v 1.2 2004/09/20 02:08:58 dmcmahill Exp $

--- src/zbuf/savemat_mod.c.orig	Tue Aug  3 22:17:23 2004
+++ src/zbuf/savemat_mod.c
@@ -56,8 +56,9 @@ operation of Software or Licensed Progra
  * Revised 7-23-91 to support ANSI-C
  */
 #include <stdio.h>
+#include <string.h>
 
-#ifdef ALPHA
+#if defined(ALPHA) || defined(__alpha__) || defined(__sparc64__) || defined(__x86_64__)
 typedef struct {
      int type;   /* type */
      int mrows;  /* row dimension */