diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-03-05 22:11:25 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-03-13 13:58:45 +0100 |
commit | 453b82a388013e522b3a1b9fcd6ed0810dab1f4f (patch) | |
tree | baa519d4f494816eb31b4cd4d06351c2ba23a1b7 /methods/http.cc | |
parent | 54298f49d71347616df19b8d2f59c907374e07b3 (diff) |
cleanup headers and especially #includes everywhere
Beside being a bit cleaner it hopefully also resolves oddball problems
I have with high levels of parallel jobs.
Git-Dch: Ignore
Reported-By: iwyu (include-what-you-use)
Diffstat (limited to 'methods/http.cc')
-rw-r--r-- | methods/http.cc | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/methods/http.cc b/methods/http.cc index e1bb2e130..82f16e9b2 100644 --- a/methods/http.cc +++ b/methods/http.cc @@ -33,24 +33,21 @@ #include <apt-pkg/error.h> #include <apt-pkg/hashes.h> #include <apt-pkg/netrc.h> +#include <apt-pkg/strutl.h> +#include <stddef.h> +#include <stdlib.h> +#include <sys/select.h> +#include <cstring> #include <sys/stat.h> #include <sys/time.h> #include <unistd.h> -#include <signal.h> #include <stdio.h> #include <errno.h> -#include <string.h> -#include <climits> #include <iostream> -#include <map> - -// Internet stuff -#include <netdb.h> #include "config.h" #include "connect.h" -#include "rfc2553emu.h" #include "http.h" #include <apti18n.h> |