vendor: Fix build in xgo

This commit is contained in:
Pedro Pombeiro 2018-02-19 16:56:13 +01:00
parent 46a5532ac5
commit 07e0cc2c91
No known key found for this signature in database
GPG key ID: A65DEB11E4BBC647

View file

@ -5,7 +5,7 @@
#include <stdarg.h> /* va_list etc */ #include <stdarg.h> /* va_list etc */
#include <stddef.h> /* size_t */ #include <stddef.h> /* size_t */
#include <stdint.h> /* SIZE_MAX */ #include "duktape.h" /* SIZE_MAX */
/* Write character with bound checking. Offset 'off' is updated regardless /* Write character with bound checking. Offset 'off' is updated regardless
* of whether an actual write is made. This is necessary to satisfy snprintf() * of whether an actual write is made. This is necessary to satisfy snprintf()