With commit c4175e43ee3f22e353af1faf07a26978c35da37c [1] `mntent.h` is only included when `HAS_DVD_DRIVE` is defined. This results in the following compile error using OpenEmbedded [2] with `angstrom-2008.1` and `MACHINE = "beagleboard"` with the configure option `--disable-optical-drive`.