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

--- src/fasthenry/savemat_mod.c.orig	Tue Aug  3 22:17:16 2004
+++ src/fasthenry/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 */