$OpenBSD: patch-src_duktape_duktape_duk_config_h,v 1.3 2017/08/10 04:57:58 jca Exp $

We do have inttypes.h, but gcc-4.2.1 doesn't default to C99 and
thus doesn't #define __STDC_VERSION__ 199901L.

--- src/duktape/duktape/duk_config.h.orig	Fri Jun 24 03:54:27 2016
+++ src/duktape/duktape/duk_config.h	Fri Oct 28 05:55:26 2016
@@ -1337,6 +1337,10 @@
 #define DUK_F_HAVE_INTTYPES
 #endif
 
+#ifndef DUK_F_HAVE_INTTYPES
+#define DUK_F_HAVE_INTTYPES
+#endif
+
 /* Basic integer typedefs and limits, preferably from inttypes.h, otherwise
  * through automatic detection.
  */
