Add bunch of missing includes to fix build with gcc 4.7 master
authorPanu Matilainen <pmatilai@laiskiainen.org>
Wed, 26 Sep 2012 18:31:36 +0000 (21:31 +0300)
committerPanu Matilainen <pmatilai@laiskiainen.org>
Wed, 26 Sep 2012 18:31:36 +0000 (21:31 +0300)
apt-pkg/contrib/progress.h
apt-pkg/pkgcache.h
apt-pkg/srcrecords.h

index fd32f13..34f826a 100644 (file)
@@ -24,6 +24,7 @@
 #include <map>
 #include <string>
 #include <sys/time.h>
+#include <sys/types.h>
 
 using std::string;
 using std::map;
index 2c0cf5b..e897245 100644 (file)
@@ -21,6 +21,7 @@
 
 #include <string>
 #include <time.h>
+#include <sys/types.h>
 #include <apt-pkg/mmap.h>
 
 using std::string;
index be8b311..763c70e 100644 (file)
@@ -15,6 +15,7 @@
 
 #include <string>
 #include <vector>    
+#include <sys/types.h>
 
 using std::string;
 using std::vector;