X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/8f3ba4e8708cb72be19dacc2af4f601ee5fea292..e110d7bf5675f484c06b82f621ac98bedc464865:/methods/rsh.h?ds=sidebyside diff --git a/methods/rsh.h b/methods/rsh.h index 7bebe29a0..dd259e744 100644 --- a/methods/rsh.h +++ b/methods/rsh.h @@ -11,10 +11,12 @@ #define APT_RSH_H #include +#include + #include -#include -#include -#include + +class Hashes; +class FileFd; class RSHConn { @@ -50,6 +52,8 @@ class RSHConn ~RSHConn(); }; +#include + class RSHMethod : public pkgAcqMethod { virtual bool Fetch(FetchItem *Itm); @@ -60,7 +64,7 @@ class RSHMethod : public pkgAcqMethod static std::string FailFile; static int FailFd; static time_t FailTime; - static void SigTerm(int); + static APT_NORETURN void SigTerm(int); public: