#ifdef HAVE_STRING_H
#include <string.h>
#endif
+#ifdef HAVE_FCNTL_H
+#include <fcntl.h>
+#endif
#include <errno.h>
osGetMBlocks(nat n)
{
caddr_t ret;
- lnat size = MBLOCK_SIZE * n;
+ lnat size = MBLOCK_SIZE * (lnat)n;
if (next_request == 0) {
// use gen_map_mblocks the first time.