include dirent.h to solve implicit declaration errors

	modified:   src/common/cockpitunixfd.c


FWIW, this issue was seen on CentOS7, but not on fedora rawhide.