lib: Fix the build on FreeBSD
commitb7d77ce4b38de7deae4875122c40cb038f4f4c98
authorVolker Lendecke <vl@samba.org>
Fri, 31 Aug 2018 04:25:30 +0000 (31 06:25 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 31 Aug 2018 16:42:31 +0000 (31 18:42 +0200)
tree384bd0958142dd6177b81a09830e92378501c945
parent83f0ac5c6da48c1a68f6a7b29992398735abb421
lib: Fix the build on FreeBSD

FreeBSD needs to explicitly #include <unistd.h> for geteuid() and close()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Fri Aug 31 18:42:31 CEST 2018 on sn-devel-144
lib/util/tests/util.c