File: 0007-Fix-build-with-gcc-13.patch

package info (click to toggle)
faiss 1.11.0-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 8,360 kB
  • sloc: cpp: 83,959; python: 27,238; sh: 905; ansic: 418; makefile: 38
file content (18 lines) | stat: -rw-r--r-- 399 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
Date: Thu, 22 Jun 2023 17:51:36 +0200
Subject: Fix build with gcc-13
Forwarded: not-needed
---
 faiss/Index.h | 1 +
 1 file changed, 1 insertion(+)

--- a/faiss/Index.h
+++ b/faiss/Index.h
@@ -11,6 +11,7 @@
 #define FAISS_INDEX_H
 
 #include <faiss/MetricType.h>
+#include <cstdint>
 #include <cstdio>
 #include <sstream>
 #include <string>