From e8c465bf449522c96588aedf3aa301a4d6c66ae5 Mon Sep 17 00:00:00 2001 From: Jan Kupec Date: Mon, 8 Oct 2007 15:08:19 +0000 Subject: [PATCH] - fixed compilation errors with gcc 4.3 --- src/zypp-checkpatches.cc | 1 - src/zypper-command.h | 2 +- src/zypper-tabulator.cc | 2 ++ src/zypper.h | 2 ++ 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/zypp-checkpatches.cc b/src/zypp-checkpatches.cc index 629171f..fad7bad 100644 --- a/src/zypp-checkpatches.cc +++ b/src/zypp-checkpatches.cc @@ -15,7 +15,6 @@ #include #include -#include #include #include #include diff --git a/src/zypper-command.h b/src/zypper-command.h index c9da0e9..98e0276 100644 --- a/src/zypper-command.h +++ b/src/zypper-command.h @@ -77,7 +77,7 @@ struct ZypperCommand explicit ZypperCommand(const std::string & strval_r); - const Command toEnum() const { return _command; } + Command toEnum() const { return _command; } ZypperCommand::Command parse(const std::string & strval_r); diff --git a/src/zypper-tabulator.cc b/src/zypper-tabulator.cc index fd58a78..d5f03ee 100644 --- a/src/zypper-tabulator.cc +++ b/src/zypper-tabulator.cc @@ -1,4 +1,6 @@ #include +#include + #include "zypper-tabulator.h" using namespace std; #include diff --git a/src/zypper.h b/src/zypper.h index 2c49558..6fdc49f 100644 --- a/src/zypper.h +++ b/src/zypper.h @@ -1,6 +1,8 @@ #ifndef ZYPPER_H #define ZYPPER_H +#include + #include #include #include -- 2.7.4