mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 01:38:07 -04:00
20 lines
478 B
Plaintext
20 lines
478 B
Plaintext
$NetBSD: patch-ag,v 1.5 2007/07/20 00:09:22 gdt Exp $
|
|
|
|
solaris-2.9 does not have stdint.h but does have inttypes.h
|
|
|
|
--- libguile/c-tokenize.c.orig 2007-06-13 18:00:56.000000000 -0400
|
|
+++ libguile/c-tokenize.c
|
|
@@ -39,7 +39,12 @@
|
|
#define __STDC_LIMIT_MACROS 1
|
|
#endif
|
|
|
|
+#ifdef HAVE_STDINT_H
|
|
+#include <stdint.h> /* May break IA64 test-noansi-r */
|
|
+#else
|
|
#include <inttypes.h>
|
|
+#endif
|
|
+
|
|
typedef int8_t flex_int8_t;
|
|
typedef uint8_t flex_uint8_t;
|
|
typedef int16_t flex_int16_t;
|