blob: 75ea75fc76a96eef3186fd523ee592df7b6c4f46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-ag,v 1.4 2007/06/12 03:02:34 dmcmahill Exp $
solaris-2.9 does not have stdint.h but does have inttypes.h
--- ./libguile/c-tokenize.c.orig 2003-08-23 13:35:14.000000000 -0400
+++ ./libguile/c-tokenize.c 2007-06-04 14:43:50.729966000 -0400
@@ -21,5 +21,11 @@
#include <errno.h>
#include <stdlib.h>
+#ifdef HAVE_STDINT_H
#include <stdint.h> /* May break IA64 test-noansi-r */
+#else
+#ifdef HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
+#endif
/* end standard C headers. */
|