Skip to content

Instantly share code, notes, and snippets.

View threedeyes's full-sized avatar

Gerasim Troeglazov threedeyes

View GitHub Profile
diff --git a/common/common.cpp b/common/common.cpp
index 6c81d18f..5751ad0f 100644
--- a/common/common.cpp
+++ b/common/common.cpp
@@ -67,6 +67,8 @@
#if defined(LLAMA_USE_CURL)
#ifdef __linux__
#include <linux/limits.h>
+#elif defined(__HAIKU__)
+#include <limits.h>