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