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

package info (click to toggle)
faiss 1.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,572 kB
  • sloc: cpp: 85,627; python: 27,889; sh: 905; ansic: 425; makefile: 41
file content (18 lines) | stat: -rw-r--r-- 396 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
@@ -13,6 +13,7 @@
 #include <faiss/MetricType.h>
 #include <faiss/impl/FaissAssert.h>
 
+#include <cstdint>
 #include <cstdio>
 #include <sstream>