summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorFredrik Fornwall <fredrik@fornwall.net>2015-12-06 13:30:51 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2015-12-06 13:30:51 +0100
commit2f17261da947e143d79d9c843a26eeb4b44ec385 (patch)
tree3410d641859bba8777446dfe29448fa60baf322d /cmdline
parent430481e794a3fa2e75022c67e129b54d192ad54c (diff)
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.cc2
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>
/*}}}*/