]> git.saurik.com Git - apt.git/blobdiff - apt-inst/contrib/extracttar.h
Move sysconf(_SC_OPEN_MAX); out of the for() loop to avoid unneeded syscalls
[apt.git] / apt-inst / contrib / extracttar.h
index 8754e8dcc0166399c438dc2af20dcb3aaef929a4..4b29df3141ae71dfbd54c08fae1b5f381f17a899 100644 (file)
 
 #include <string>
 
+#ifndef APT_8_CLEANER_HEADERS
+#include <apt-pkg/dirstream.h>
+#include <algorithm>
+using std::min;
+#endif
+
 class pkgDirStream;
 
 class ExtractTar