File: missing-includes

package info (click to toggle)
dasher 5.0.0~beta~repack2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 70,908 kB
  • sloc: xml: 181,314; cpp: 70,858; java: 8,020; python: 3,579; makefile: 937; sh: 320; ansic: 223; perl: 71
file content (24 lines) | stat: -rw-r--r-- 683 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
21
22
23
24
Description: FileUtils.cpp is missing #includes
Author: Thibaut Paumard <thibaut@debian.org>
Origin: upstream
Applied-Upstream: 8eda7f94c4b58df111c166ea15d1af7bb3af36a0
Last-Update: 2017-01-19
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Src/Gtk2/FileUtils.cpp
+++ b/Src/Gtk2/FileUtils.cpp
@@ -1,5 +1,7 @@
 #include <string>
 #include <stdio.h>
+#include <sys/stat.h>
+#include <sys/types.h>
 
 #include "../Common/Globber.h"
 #include "../DasherCore/AbstractXMLParser.h"
@@ -50,4 +52,4 @@
   int written = fwrite(strNewText.c_str(), 1, strNewText.length(), f);
   fclose(f);
   return written == strNewText.length();
-}
\ No newline at end of file
+}