--- a/lib/ext2fs/tdb.c +++ b/lib/ext2fs/tdb.c @@ -56,7 +56,9 @@ #include #endif #include +#ifndef __FreeBSD__ #include +#endif #include #ifdef HAVE_SYS_MMAN_H