diff options
author | Rickard Green <[email protected]> | 2019-02-05 20:34:59 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2019-02-05 20:34:59 +0100 |
commit | 320a02e522085fe5eec141d7bf18631e4ef74f0a (patch) | |
tree | 6f9ca128ea1a81d3c1be6e18bc7b59aa370d2e8e /lib/erl_interface/include/ei.h | |
parent | a4641c5b3469d2e3cb9b0937ed941748fbbf2036 (diff) | |
parent | dbeaca78bc6c0d4719a522e447fa59d7a1006ae0 (diff) | |
download | otp-320a02e522085fe5eec141d7bf18631e4ef74f0a.tar.gz otp-320a02e522085fe5eec141d7bf18631e4ef74f0a.tar.bz2 otp-320a02e522085fe5eec141d7bf18631e4ef74f0a.zip |
Merge branch 'rickard/ei-ext/OTP-15442' into rickard/ei-ext-maint/OTP-15442
* rickard/ei-ext/OTP-15442:
Introduce ei_init()
Fix bug in ei_accept_tmo
Fix build of erl_interface on BSD
Diffstat (limited to 'lib/erl_interface/include/ei.h')
-rw-r--r-- | lib/erl_interface/include/ei.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/erl_interface/include/ei.h b/lib/erl_interface/include/ei.h index 92674571e2..ca4960b252 100644 --- a/lib/erl_interface/include/ei.h +++ b/lib/erl_interface/include/ei.h @@ -36,6 +36,8 @@ #include <windows.h> #include <winbase.h> typedef LONG_PTR ssize_t; /* Sigh... */ +#else +#include <sys/types.h> /* ssize_t */ #endif #include <stdio.h> /* Need type FILE */ @@ -667,6 +669,8 @@ struct ei_reg_tabstat { }; +int ei_init(void); + /* -------------------------------------------------------------------- */ /* XXXXXXXXXXX */ /* -------------------------------------------------------------------- */ |