fix: Add missing glib include on MINGW
[babeltrace.git] / src / compat / mman.c
index d0cea9df10fc50f0912269fe0aeb8ff0648924f0..90255c7c7500ebb2764e27c2e9d8ea8bca06ca55 100644 (file)
@@ -29,6 +29,8 @@
 #define BT_LOG_TAG "COMPAT-MMAN"
 #include "logging.h"
 
+#include "common/macros.h"
+
 #ifdef __APPLE__
 /*
  * On macOS, we need a dummy symbol so that the linker won't
@@ -41,10 +43,12 @@ int bt_mman_dummy_symbol;
 #ifdef __MINGW32__
 
 #include <errno.h>
+#include <glib.h>
 #include <io.h>
 #include <pthread.h>
 #include <stdlib.h>
 #include <windows.h>
+
 #include "compat/mman.h"
 
 struct mmap_mapping {
This page took 0.039189 seconds and 4 git commands to generate.