Change-Id: I181312dfcc6f8375bc85c26fa63bca29aaa716c8
#include <dpl/wrt-dao-ro/common_dao_types.h>
#include <sys/stat.h>
#include <fstream>
+/* GCC versions 4.7 had changes to the C++ standard. It
+ * no longer includes <unistd.h> to remove namespace pollution.
+ */
+#include <unistd.h>
using namespace DPL::DB::ORM;
using namespace DPL::DB::ORM::certificate;
#include <dpl/wrt-dao-ro/common_dao_types.h>
#include <sys/stat.h>
#include <fstream>
+#include <unistd.h>
using namespace DPL::DB::ORM;
using namespace DPL::DB::ORM::security_origin;
#include <dpl/file_input.h>
#include <dpl/file_output.h>
#include <dpl/copy.h>
-
+#include <unistd.h>
#include <sys/stat.h>
namespace DPL {