$NetBSD: patch-as,v 1.1 2001/02/09 11:29:39 dmcmahill Exp $

--- src/zbuf/savemat_mod.c.orig	Tue Nov 12 14:18:56 1996
+++ src/zbuf/savemat_mod.c	Thu Feb  8 20:04:39 2001
@@ -23,6 +23,7 @@
  */
 #include <stdio.h>
+#include <string.h>
 
-#ifdef ALPHA
+#if defined(ALPHA) || defined(__alpha__) || defined(__sparc64__)
 typedef struct {
      int type;   /* type */
