]> git.saurik.com Git - apt.git/blobdiff - methods/rsh.h
all errors should be printed to stderr
[apt.git] / methods / rsh.h
index d7efa3f065dee3d9d180dd0fba1d49c467b6ee54..dd259e7442caf7b00cc2658ab003260f94f9edee 100644 (file)
@@ -11,6 +11,8 @@
 #define APT_RSH_H
 
 #include <string>
+#include <time.h>
+
 #include <apt-pkg/strutl.h>
 
 class Hashes;
@@ -62,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: