Parcourir la source

Fix all the wrong removals of includes that iwyu got wrong

Git-Dch: ignore
Michael Vogt il y a 11 ans
Parent
commit
ac7f8f7916

+ 1 - 0
apt-pkg/acquire-item.cc

@@ -43,6 +43,7 @@
 #include <string>
 #include <stdio.h>
 #include <ctime>
+#include <sstream>
 
 #include <apti18n.h>
 									/*}}}*/

+ 1 - 0
apt-pkg/acquire-worker.cc

@@ -33,6 +33,7 @@
 #include <signal.h>
 #include <stdio.h>
 #include <errno.h>
+#include <sstream>
 
 #include <apti18n.h>
 									/*}}}*/

+ 2 - 0
apt-pkg/acquire.cc

@@ -27,6 +27,8 @@
 #include <string>
 #include <vector>
 #include <iostream>
+#include <sstream>
+#include <iomanip>
 
 #include <stdio.h>
 #include <stdlib.h>

+ 2 - 0
apt-pkg/cdrom.cc

@@ -22,6 +22,8 @@
 #include <stdio.h>
 #include <algorithm>
 #include <dlfcn.h>
+#include <iostream>
+#include <sstream>
 
 #include<apti18n.h>
 

+ 1 - 0
apt-pkg/deb/debindexfile.cc

@@ -27,6 +27,7 @@
 #include <stdio.h>
 #include <iostream>
 #include <string>
+#include <sstream>
 
 #include <sys/stat.h>
 									/*}}}*/

+ 5 - 0
apt-pkg/edsp.cc

@@ -12,6 +12,11 @@
 #include <apt-pkg/depcache.h>
 #include <apt-pkg/pkgcache.h>
 #include <apt-pkg/cacheiterators.h>
+#include <apt-pkg/progress.h>
+#include <apt-pkg/fileutl.h>
+#include <apt-pkg/edsp.h>
+#include <apt-pkg/tagfile.h>
+#include <apt-pkg/strutl.h>
 
 #include <ctype.h>
 #include <stddef.h>

+ 1 - 0
apt-pkg/indexcopy.cc

@@ -31,6 +31,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <sstream>
 
 #include "indexcopy.h"
 #include <apti18n.h>

+ 1 - 0
apt-pkg/install-progress.cc

@@ -13,6 +13,7 @@
 #include <fcntl.h>
 #include <algorithm>
 #include <stdio.h>
+#include <sstream>
 
 #include <apti18n.h>
 

+ 1 - 0
apt-pkg/policy.cc

@@ -33,6 +33,7 @@
 #include <string>
 #include <vector>
 #include <iostream>
+#include <sstream>
 
 #include <apti18n.h>
 									/*}}}*/

+ 1 - 0
apt-pkg/update.cc

@@ -8,6 +8,7 @@
 #include <apt-pkg/sourcelist.h>
 #include <apt-pkg/acquire.h>
 #include <apt-pkg/strutl.h>
+#include <apt-pkg/update.h>
 
 #include <string>