sh: Fix compilation for older DragonFly versions.
commit39a1ee098a93d3f7b3a91dd03acf16a1883393d5
authorPeter Avalos <pavalos@dragonflybsd.org>
Wed, 31 Jul 2013 21:39:03 +0000 (31 14:39 -0700)
committerPeter Avalos <pavalos@dragonflybsd.org>
Wed, 31 Jul 2013 22:32:32 +0000 (31 15:32 -0700)
tree3c02c1697efce64eac89a13dae6da25d0e6a4874
parent05fa4aa69732743b8c39762a8ba0d531859ed86f
sh: Fix compilation for older DragonFly versions.

O_CLOEXEC and F_DUPFD_CLOEXEC were added in the past year, and since sh
is a bootstrap tool, older versions of DragonFly won't be able to
compile this latest version.

Reviewed-by: swildner
bin/sh/input.c
bin/sh/jobs.c
bin/sh/main.c
bin/sh/redir.c