]> git.saurik.com Git - apt.git/blobdiff - methods/ftp.h
fix test-failure in adt
[apt.git] / methods / ftp.h
index 8055c389f550da9cd73fc211e6798d188f18fc2d..dd92f0086e936043af045211f923ae0eccad9ceb 100644 (file)
@@ -12,6 +12,8 @@
 
 #include <apt-pkg/strutl.h>
 
+#include <sys/types.h>
+#include <time.h>
 #include <string>
 
 class FTPConn
@@ -76,7 +78,7 @@ class FtpMethod : public pkgAcqMethod
    static std::string FailFile;
    static int FailFd;
    static time_t FailTime;
-   static void SigTerm(int);
+   static APT_NORETURN void SigTerm(int);
    
    public: