2016-01-21 23:42:40 +01:00

20 lines
422 B
Plaintext

$NetBSD: patch-al,v 1.4 2015/07/02 18:47:57 khorben Exp $
fix build on solaris 9
--- hacks/asm6502.c.orig 2015-03-02 03:59:21.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"