diff options
author | Julian Andres Klode <jak@debian.org> | 2016-08-23 13:15:15 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2016-08-26 15:49:10 +0200 |
commit | 24a59c62efafbdb8387b2d3c5616b04b9fd21306 (patch) | |
tree | 9d959bcff3f1208e8cada3b7a56e5a9a5d4abd4c /apt-pkg/edsp/edsplistparser.cc | |
parent | bb9fdfe45b1c06f87de857b6ed225b8509003976 (diff) |
Add missing includes and external definitions
Several modules use std::array without including the
array header. Bad modules.
Some modules use STDOUT_FILENO and friends, or close()
without including unistd.h, where they are defined.
One module also uses WIFEXITED() without including
sys/wait.h.
Finally, environ is not specified to be defined in unistd.h. We
are required to define it ourselves according to POSIX, so let's
do that.
Diffstat (limited to 'apt-pkg/edsp/edsplistparser.cc')
-rw-r--r-- | apt-pkg/edsp/edsplistparser.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/edsp/edsplistparser.cc b/apt-pkg/edsp/edsplistparser.cc index dd8890f0e..c6fd528da 100644 --- a/apt-pkg/edsp/edsplistparser.cc +++ b/apt-pkg/edsp/edsplistparser.cc @@ -21,6 +21,8 @@ #include <apt-pkg/fileutl.h> #include <apt-pkg/pkgsystem.h> +#include <array> + /*}}}*/ // ListParser::edspListParser - Constructor /*{{{*/ |