compat: fix compilation with !BABELTRACE_HAVE_OPEN_MEMSTREAM
[babeltrace.git] / src / compat / memstream.h
index 35ffa643d852403071473d1040c2f1d7dd0c67d8..30d974ca4aaf748fba791d7f19c476f0b6721e66 100644 (file)
@@ -224,6 +224,8 @@ error_free:
 
 #else /* __MINGW32__ */
 
+#include <unistd.h>
+
 /*
  * Fallback for systems which don't have open_memstream. Create FILE *
  * with bt_open_memstream, but require call to
This page took 0.023793 seconds and 4 git commands to generate.