]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- added missing includes for gcc 4.3
authorArvin Schnell <aschnell@suse.de>
Thu, 18 Apr 2013 12:31:43 +0000 (14:31 +0200)
committerArvin Schnell <aschnell@suse.de>
Thu, 18 Apr 2013 12:31:43 +0000 (14:31 +0200)
snapper/XAttributes.cc
snapper/XAttributes.h
testsuite-real/xattrs1.cc
testsuite-real/xattrs2.cc
testsuite-real/xattrs_utils.cc

index 4ae7372d64209eb1d17365180b32e18e507802ce..55234f846d4fd50e123029a7d1d790040d88d182 100644 (file)
  *
  */
 
+
 #include "config.h"
+
 #include <sys/xattr.h>
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <fcntl.h>
 #include <unistd.h>
+#include <errno.h>
 
 #include "snapper/AppUtil.h"
 #include "snapper/Exception.h"
@@ -32,6 +35,7 @@
 
 #include <boost/scoped_array.hpp>
 
+
 namespace snapper
 {
 
index 5dda2df1f771a86e4262fce9e02bf15971978865..ee2851a20b437a5afad8ba988f27123838cfcad0 100644 (file)
 #ifndef SNAPPER_XATTRIBUTES_H
 #define SNAPPER_XATTRIBUTES_H
 
+
+#include <stdint.h>
+
 #include <map>
 #include <vector>
 #include <string>
-#include <iostream>
+#include <ostream>
 
-#include <stdint.h>
 
 namespace snapper
 {
index ebf2589ed14949e9addac87b464e62d247a5baa6..aab01f23560bb99f90696462c4c6fc7c07b9be22 100644 (file)
@@ -1,3 +1,5 @@
+
+#include <stdlib.h>
 #include <iostream>
 
 #include "common.h"
index bf33d57dd5a22e965cf140ea228257a629b2bd88..f0feee7c2eecb3e1396fffe55632b9777a31f9d6 100644 (file)
@@ -1,3 +1,5 @@
+
+#include <stdlib.h>
 #include <iostream>
 
 #include "common.h"
index 2920b553597e361f089374710fdb5011d1956043..be5ee320c87b89cc4f33da0403e758763a716d66 100644 (file)
@@ -1,7 +1,10 @@
-#include <iostream>
+
+#include <stdlib.h>
 #include <string.h>
 #include <sys/xattr.h>
 
+#include <iostream>
+
 #include "xattrs_utils.h"
 #include "common.h"