blob: 3a0246501b4d8d719ffd97399b5a9d4fb42db388 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$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"
|