From 2a37f467024bf26482833493b4af5ccd5dee8d4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com>
Date: Sat, 31 Mar 2018 08:49:25 +0200
Subject: Haiku build fixes


diff --git a/lib/Alembic/AbcCoreOgawa/StreamManager.cpp b/lib/Alembic/AbcCoreOgawa/StreamManager.cpp
index 8cc1cc2..163240e 100644
--- a/lib/Alembic/AbcCoreOgawa/StreamManager.cpp
+++ b/lib/Alembic/AbcCoreOgawa/StreamManager.cpp
@@ -99,6 +99,13 @@ StreamManager::~StreamManager()
 {
 }
 
+#ifdef __HAIKU__
+int ffsll(long long i)
+{
+	return (__builtin_ffsll(i));
+}
+#endif
+
 StreamIDPtr StreamManager::get()
 {
 
-- 
2.30.2

