+/**
+ * \file
+ */
#include "w32process.h"
#include "w32process-unix-internals.h"
#endif
#endif
+/* makedev() macro */
+#ifdef MAJOR_IN_MKDEV
+#include <sys/mkdev.h>
+#elif defined MAJOR_IN_SYSMACROS
+#include <sys/sysmacros.h>
+#endif
+
#include "utils/mono-logger-internals.h"
#ifndef MAXPATHLEN
guint64 device;
fp = open_process_map (pid, "r");
- if (!fp)
+ if (!fp) {
+ mono_trace (G_LOG_LEVEL_DEBUG, MONO_TRACE_IO_LAYER, "%s: Can't open process map file for pid %d", __func__, pid);
return NULL;
+ }
while (fgets (buf, sizeof(buf), fp)) {
p = buf;