diff options
author | Fredrik Fornwall <fredrik@fornwall.net> | 2015-12-08 00:48:50 +0100 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2016-02-03 23:46:19 +0100 |
commit | ef72d726399763446f31a07b11f30f6a726ea81a (patch) | |
tree | 4dc9321c2abee5260330a687aff2eb347a024869 /apt-pkg/edsp/edspsystem.cc | |
parent | d603afd970e4bc84ed7176b988cd72bd9cf339b3 (diff) |
edspsystem.cc: include <stdlib.h> for mkdtemp
Include <stdlib.h> to ensure that mkdtemp(3) is defined to improve
general portability and fix a specific build failure on Android.
Closes: #807367
Diffstat (limited to 'apt-pkg/edsp/edspsystem.cc')
-rw-r--r-- | apt-pkg/edsp/edspsystem.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/edsp/edspsystem.cc b/apt-pkg/edsp/edspsystem.cc index 95abc1527..0d967863e 100644 --- a/apt-pkg/edsp/edspsystem.cc +++ b/apt-pkg/edsp/edspsystem.cc @@ -20,6 +20,7 @@ #include <apt-pkg/fileutl.h> #include <stddef.h> +#include <stdlib.h> #include <unistd.h> #include <string> |