aboutsummaryrefslogtreecommitdiff
path: root/www/waterfox/files/patch-third__party_sqlite3_ext_sqlite-vec_sqlite-vec.c
diff options
context:
space:
mode:
Diffstat (limited to 'www/waterfox/files/patch-third__party_sqlite3_ext_sqlite-vec_sqlite-vec.c')
-rw-r--r--www/waterfox/files/patch-third__party_sqlite3_ext_sqlite-vec_sqlite-vec.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/www/waterfox/files/patch-third__party_sqlite3_ext_sqlite-vec_sqlite-vec.c b/www/waterfox/files/patch-third__party_sqlite3_ext_sqlite-vec_sqlite-vec.c
new file mode 100644
index 000000000000..662857e65bc5
--- /dev/null
+++ b/www/waterfox/files/patch-third__party_sqlite3_ext_sqlite-vec_sqlite-vec.c
@@ -0,0 +1,15 @@
+diff --git third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c
+index 96612e26d385..c43c46136bef 100644
+--- third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c
++++ third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c
+@@ -11,6 +11,10 @@
+ #include <stdlib.h>
+ #include <string.h>
+
++#ifdef __FreeBSD__
++#include <sys/types.h>
++#endif
++
+ #ifndef SQLITE_VEC_OMIT_FS
+ #include <stdio.h>
+ #endif