diff options
author | Rickard Green <[email protected]> | 2019-01-28 14:39:17 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2019-01-29 16:56:48 +0100 |
commit | d443097778e22c51173aaa22b71303b05a89cf84 (patch) | |
tree | eb9f6dde2a685f476ca43c2740bd3660f30899a1 /lib/erl_interface/include/ei.h | |
parent | eaeec753c035c2214be2930290a0a6de411566b0 (diff) | |
download | otp-d443097778e22c51173aaa22b71303b05a89cf84.tar.gz otp-d443097778e22c51173aaa22b71303b05a89cf84.tar.bz2 otp-d443097778e22c51173aaa22b71303b05a89cf84.zip |
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/erl_interface/include/ei.h b/lib/erl_interface/include/ei.h index 92674571e2..dffaf4f27c 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 */ |