$NetBSD: patch-al,v 1.2 2011/02/05 20:33:43 markd Exp $ fix build on solaris 9 --- hacks/asm6502.c.orig Mon Mar 22 16:06:34 2010 +++ hacks/asm6502.c Mon Mar 22 16:07:18 2010 @@ -31,7 +31,12 @@ #include #include #include +#include +#if defined(HAVE_STDINT_H) #include +#elif defined(HAVE_INTTYPES_H) +#include +#endif #include #include "asm6502.h"