include a missing header file in order to fix a compilation error on NetBSD.