File: 0001-Add-missing-include-of-cstring.patch

package info (click to toggle)
dawg 1.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 908 kB
  • sloc: cpp: 2,598; ansic: 520; perl: 467; sh: 101; makefile: 18
file content (20 lines) | stat: -rw-r--r-- 396 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Kevin Murray <spam@kdmurray.id.au>
Date: Tue, 1 Dec 2015 12:35:28 +1100
Subject: Add missing include of <cstring>

---
 src/dawg.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/dawg.h b/src/dawg.h
index 973032c..027c4c6 100644
--- a/src/dawg.h
+++ b/src/dawg.h
@@ -30,6 +30,7 @@
 
 
 #include <cstdlib>
+#include <cstring>
 #include <cstddef>
 #include <cstdio>
 #include <ctime>