File: 93138fe-Add-missing-include-string.patch

package info (click to toggle)
brlaser 3-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 268 kB
  • sloc: cpp: 1,271; makefile: 46; sh: 12
file content (23 lines) | stat: -rw-r--r-- 598 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From 93138fec87290ffbdd4919f313ea513eadca749c Mon Sep 17 00:00:00 2001
From: Peter Spiess-Knafl <dev@spiessknafl.at>
Date: Mon, 25 Apr 2016 15:02:37 +0200
Subject: [PATCH] Add missing #include <string>
Bug-Debian: https://bugs.debian.org/822500
Forwarded: https://github.com/pdewacht/brlaser/pull/9

---
 src/brdecode.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/brdecode.cc b/src/brdecode.cc
index d5c4c0d..bcd3ec7 100644
--- a/src/brdecode.cc
+++ b/src/brdecode.cc
@@ -21,6 +21,7 @@
 #include <algorithm>
 #include <exception>
 #include <vector>
+#include <string>
 
 namespace {