Commit 3b7b1807 authored by kaniini's avatar kaniini

Merge branch 'fix/building-with-some-clangs' into 'master'

Fix building with some clang versions, like on FreeBSD

See merge request pleroma/fast_html!11
parents 79852f11 984d51c5
Pipeline #19745 passed with stage
in 57 seconds
......@@ -11,6 +11,10 @@
#include <errno.h>
#include <ctype.h>
#ifndef _REENTRANT
#define _REENTRANT /* For some reason __erl_errno is undefined unless _REENTRANT is defined */
#endif
#include "ei.h"
#ifndef OTP_22_OR_NEWER
# 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