hfst-ospell/gcc13-fix.patch

22 lines
505 B
Diff

From 7481bffbf622bc9aee3547183fbe8db9cf8b22ce Mon Sep 17 00:00:00 2001
From: Tino Didriksen <mail@tinodidriksen.com>
Date: Sun, 3 Jul 2022 23:16:52 +0200
Subject: [PATCH] Include cstdint (fixes #57)
---
hfst-ol.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/hfst-ol.h b/hfst-ol.h
index 0a83ec5..ee59b14 100644
--- a/hfst-ol.h
+++ b/hfst-ol.h
@@ -28,6 +28,7 @@
#include <climits>
#include <cstdio>
#include <cstdlib>
+#include <cstdint>
#include <iostream>
#include <cstring>
#include <set>