summaryrefslogtreecommitdiff
path: root/methods/rsh.h
diff options
context:
space:
mode:
Diffstat (limited to 'methods/rsh.h')
-rw-r--r--methods/rsh.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/methods/rsh.h b/methods/rsh.h
index d7efa3f06..dd259e744 100644
--- a/methods/rsh.h
+++ b/methods/rsh.h
@@ -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: