Port: unlink() requires unistd.h on Solaris and macOS
[babeltrace.git] / include / babeltrace / compat / memstream-internal.h
index b7ae97e86cc89d3d680afe21dfa8b857be7b44b4..8450f54243ab136c900743dc50228d039a8a57e9 100644 (file)
@@ -38,6 +38,7 @@ FILE *bt_fmemopen(void *buf, size_t size, const char *mode)
 
 #else /* BABELTRACE_HAVE_FMEMOPEN */
 
+#include <unistd.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
This page took 0.023175 seconds and 4 git commands to generate.