ars3niy / tdlib-purple

libpurple Telegram plugin using tdlib
Other
147 stars 32 forks source link

Fix build on FreeBSD #137

Closed marko-turk closed 2 years ago

marko-turk commented 2 years ago

Build on FreeBSD fails with: tdlib-purple.cpp:447:36: error: implicit instantiation of undefined template 'std::__1::array<con st char *, 3>'

Explicit include for is needed.

Thaodan commented 2 years ago

Can you be more precise in the commit message? I don't think the issue is FreeBSD but Clang/libc++

marko-turk commented 2 years ago

Yes, build with clang will probably fail on all targets.

c0dev0id commented 2 years ago

Same on OpenBSD/clang. The fix works there too.