[dasher: 18/61] Gtk2/FileUtils: Include sys/stat.h



commit 8eda7f94c4b58df111c166ea15d1af7bb3af36a0
Author: Yanko Kaneti <yaneti declera com>
Date:   Tue Apr 19 10:40:43 2016 +0300

    Gtk2/FileUtils: Include sys/stat.h

 Src/Gtk2/FileUtils.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/Src/Gtk2/FileUtils.cpp b/Src/Gtk2/FileUtils.cpp
index d0f07dc..f459ea2 100644
--- a/Src/Gtk2/FileUtils.cpp
+++ b/Src/Gtk2/FileUtils.cpp
@@ -1,5 +1,6 @@
 #include <string>
 #include <stdio.h>
+#include <sys/stat.h>
 
 #include "../Common/Globber.h"
 #include "../DasherCore/AbstractXMLParser.h"
@@ -50,4 +51,4 @@ bool FileUtils::WriteUserDataFile(const std::string &filename, const std::string
   int written = fwrite(strNewText.c_str(), 1, strNewText.length(), f);
   fclose(f);
   return written == strNewText.length();
-}
\ No newline at end of file
+}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]