]> git.saurik.com Git - apt.git/commit - apt-pkg/edsp/edsplistparser.cc
Add missing includes and external definitions
authorJulian Andres Klode <jak@debian.org>
Tue, 23 Aug 2016 11:15:15 +0000 (13:15 +0200)
committerJulian Andres Klode <jak@debian.org>
Fri, 26 Aug 2016 13:49:10 +0000 (15:49 +0200)
commit24a59c62efafbdb8387b2d3c5616b04b9fd21306
tree9d959bcff3f1208e8cada3b7a56e5a9a5d4abd4c
parentbb9fdfe45b1c06f87de857b6ed225b8509003976
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.
apt-pkg/contrib/strutl.cc
apt-pkg/deb/debindexfile.cc
apt-pkg/deb/dpkgpm.cc
apt-pkg/edsp/edsplistparser.cc
apt-private/private-show.cc
cmdline/apt-helper.cc
cmdline/apt-sortpkgs.cc
test/interactive-helper/test_fileutl.cc