diff options
author | Fredrik Fornwall <fredrik@fornwall.net> | 2015-12-06 13:30:51 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-12-06 13:30:51 +0100 |
commit | 2f17261da947e143d79d9c843a26eeb4b44ec385 (patch) | |
tree | 3410d641859bba8777446dfe29448fa60baf322d /cmdline | |
parent | 430481e794a3fa2e75022c67e129b54d192ad54c (diff) | |
download | apt-2f17261da947e143d79d9c843a26eeb4b44ec385.tar.gz |
apt-helper.cc: include <stdlib.h> for atoi
Include <stdlib.h> to ensure that atoi(3) is defined to improve
general portability and fix a specific build failure on Android.
Closes: 807031
Diffstat (limited to 'cmdline')
-rw-r--r-- | cmdline/apt-helper.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmdline/apt-helper.cc b/cmdline/apt-helper.cc index c0575bea1..5a29427c8 100644 --- a/cmdline/apt-helper.cc +++ b/cmdline/apt-helper.cc @@ -29,6 +29,8 @@ #include <string> #include <vector> +#include <stdlib.h> + #include <apti18n.h> /*}}}*/ |