Package: apt Version: 1.1.3 Severity: normal Tags: patch Include <stdlib.h> to ensure that atoi(3) is defined to improve general portability and fix a specific build failure on Android. --- cmdline/apt-helper.cc | 1 + 1 file changed, 1 insertion(+)
diff --git a/cmdline/apt-helper.cc b/cmdline/apt-helper.cc index c0575be..254bcf9 100644 --- a/cmdline/apt-helper.cc +++ b/cmdline/apt-helper.cc @@ -25,6 +25,7 @@ #include <apt-private/private-main.h> #include <apt-pkg/srvrec.h> +#include <stdlib.h> #include <iostream> #include <string> #include <vector> -- 2.6.3