2013-09-26 17:14:40 +02:00

20 lines
423 B
Plaintext

$NetBSD: patch-al,v 1.3 2012/08/01 12:22:14 drochner Exp $
fix build on solaris 9
--- hacks/asm6502.c.orig 2012-06-24 04:49:43.000000000 +0000
+++ hacks/asm6502.c
@@ -31,7 +31,12 @@
#include <assert.h>
#include <ctype.h>
#include <math.h>
+#include <config.h>
+#if defined(HAVE_STDINT_H)
#include <stdint.h>
+#elif defined(HAVE_INTTYPES_H)
+#include <inttypes.h>
+#endif
#include <unistd.h>
#include "yarandom.h"