diff options
Diffstat (limited to 'firefox/fix-sqlite-vec-uint.patch')
| -rw-r--r-- | firefox/fix-sqlite-vec-uint.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/firefox/fix-sqlite-vec-uint.patch b/firefox/fix-sqlite-vec-uint.patch new file mode 100644 index 00000000..36a83a99 --- /dev/null +++ b/firefox/fix-sqlite-vec-uint.patch @@ -0,0 +1,20 @@ +diff --git a/third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c b/third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c +index 96612e2..d641b11 100644 +--- a/third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c ++++ b/third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c +@@ -66,6 +66,7 @@ SQLITE_EXTENSION_INIT3 + #ifndef __COSMOPOLITAN__ + #ifndef __wasi__ + #ifndef __sun__ ++#ifndef linux + typedef u_int8_t uint8_t; + typedef u_int16_t uint16_t; + typedef u_int64_t uint64_t; +@@ -74,6 +75,7 @@ typedef u_int64_t uint64_t; + #endif + #endif + #endif ++#endif + + typedef int8_t i8; + typedef uint8_t u8; |