alicelinux

A lightweight musl + clang/llvm + libressl + busybox distro
git clone https://codeberg.org/emmett1/alicelinux
Log | Files | Refs | README | LICENSE

fix-sqlite-vec-uint.patch (572B)


      1 diff --git a/third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c b/third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c
      2 index 96612e2..d641b11 100644
      3 --- a/third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c
      4 +++ b/third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c
      5 @@ -66,6 +66,7 @@ SQLITE_EXTENSION_INIT3
      6  #ifndef __COSMOPOLITAN__
      7  #ifndef __wasi__
      8  #ifndef __sun__
      9 +#ifndef linux
     10  typedef u_int8_t uint8_t;
     11  typedef u_int16_t uint16_t;
     12  typedef u_int64_t uint64_t;
     13 @@ -74,6 +75,7 @@ typedef u_int64_t uint64_t;
     14  #endif
     15  #endif
     16  #endif
     17 +#endif
     18  
     19  typedef int8_t i8;
     20  typedef uint8_t u8;