X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/f68cba9b720bc44aacf6af468836287d9754afea..a4221092e50af0b74040f5b4ee800c78b05fd84e:/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