Package: kfreebsd-kernel-headers When trying to build monit package https://packages.qa.debian.org/m/monit.html it seems one can't include boolean_t from vm/vm.h, see e.g. https://buildd.debian.org/status/fetch.php?pkg=monit&arch=kfreebsd-amd64&ver=1%3A5.15-2&stamp=1449372521
The reason was vm/vm.h (or any it's prerequisite) don't have vm_ooffset_t definition. Source to reproduce the failure (from config.log): -->8-- #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define STDC_HEADERS 1 #define HAVE_STDLIB_H 1 #define HAVE_STRINGS_H 1 #define STDC_HEADERS 1 #define HAVE_MEMORY_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #include <stdio.h> #ifdef HAVE_SYS_TYPES_H # include <sys/types.h> #endif #ifdef HAVE_SYS_STAT_H # include <sys/stat.h> #endif #ifdef STDC_HEADERS # include <stdlib.h> # include <stddef.h> #else # ifdef HAVE_STDLIB_H # include <stdlib.h> # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include <memory.h> # endif # include <string.h> #endif #ifdef HAVE_STRINGS_H # include <strings.h> #endif #ifdef HAVE_INTTYPES_H # include <inttypes.h> #endif #ifdef HAVE_STDINT_H # include <stdint.h> #endif #ifdef HAVE_UNISTD_H # include <unistd.h> #endif #include <vm/vm.h> -->8--