X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/f24293ae9e16393199a50071b0fdf8ec1ffabf5a..9518b448743e9030d854fcbb104516dd5ba648f6:/apt-private/private-main.cc diff --git a/apt-private/private-main.cc b/apt-private/private-main.cc index 1fdf3f0be..668b1733a 100644 --- a/apt-private/private-main.cc +++ b/apt-private/private-main.cc @@ -1,12 +1,25 @@ +#include -#include -#include - +#include #include -#include "private-main.h" + +#include + +#include +#include +#include +#include #include + +void InitSignals() +{ + // Setup the signals + signal(SIGPIPE,SIG_IGN); +} + + void CheckSimulateMode(CommandLine &CmdL) { // simulate user-friendly if apt-get has no root privileges