aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_nif.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2018-03-15 21:02:47 +0100
committerSverker Eriksson <[email protected]>2018-03-22 16:22:33 +0100
commite36c103236ac70c29caf910d31651bed6c24dfe8 (patch)
tree49db884b52e86ca234831953551e9955f907ac8e /erts/emulator/beam/erl_nif.h
parent30d5b7ee32d099f2a23c26e873aeb08be1b1d966 (diff)
downloadotp-e36c103236ac70c29caf910d31651bed6c24dfe8.tar.gz
otp-e36c103236ac70c29caf910d31651bed6c24dfe8.tar.bz2
otp-e36c103236ac70c29caf910d31651bed6c24dfe8.zip
erts: Add enif_vfprintf and enif_vsnprintf
Diffstat (limited to 'erts/emulator/beam/erl_nif.h')
-rw-r--r--erts/emulator/beam/erl_nif.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_nif.h b/erts/emulator/beam/erl_nif.h
index 14682add51..30eff9fcb9 100644
--- a/erts/emulator/beam/erl_nif.h
+++ b/erts/emulator/beam/erl_nif.h
@@ -53,6 +53,7 @@
** 2.12: 20.0 add enif_select, enif_open_resource_type_x
** 2.13: 20.1 add enif_ioq
** 2.14: 21.0 add enif_ioq_peek_head, enif_(mutex|cond|rwlock|thread)_name
+** enif_vfprintf, enif_vsnprintf
*/
#define ERL_NIF_MAJOR_VERSION 2
#define ERL_NIF_MINOR_VERSION 14
@@ -70,6 +71,8 @@
#define ERL_NIF_MIN_REQUIRED_MAJOR_VERSION_ON_LOAD 2
#include <stdlib.h>
+#include <stdio.h>
+#include <stdarg.h>
#ifdef __cplusplus
extern "C" {