summaryrefslogtreecommitdiff
path: root/devel/z80-asm/patches/patch-ac
blob: a11a9c97d8545209b5a16a25b5c130ba9ea2abc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ac,v 1.1 2007/03/17 14:52:51 rillig Exp $

gcc4 complains:
regs.h:28: error: array type has incomplete element type
regs.h:48: error: array type has incomplete element type

--- regs.h.orig	2003-01-20 14:53:08.000000000 +0100
+++ regs.h	2007-03-17 15:50:38.000000000 +0100
@@ -3,6 +3,8 @@
 #ifndef __REGS_H
 #define __REGS_H
 
+#include "z80-asm.h"	/* for struct seznam_type */
+
 #define R_EMPTY 0
 #define R_A 1
 #define R_B 2