Commit 984d51c5 authored by feld's avatar feld

Fix building with some clang versions, like on FreeBSD

parent 79852f11
Pipeline #19744 passed with stage
in 49 seconds
...@@ -11,6 +11,10 @@ ...@@ -11,6 +11,10 @@
#include <errno.h> #include <errno.h>
#include <ctype.h> #include <ctype.h>
#ifndef _REENTRANT
#define _REENTRANT /* For some reason __erl_errno is undefined unless _REENTRANT is defined */
#endif
#include "ei.h" #include "ei.h"
#ifndef OTP_22_OR_NEWER #ifndef OTP_22_OR_NEWER
# include "erl_interface.h" # include "erl_interface.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment