Skip to content

Commit 1256bf8

Browse files
committed
lib: use flb_compat.h instead of unistd.h (Windows issue)
Signed-off-by: Eduardo Silva <[email protected]>
1 parent 6a80c78 commit 1256bf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flb_lib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
#include <fluent-bit/flb_lib.h>
2222
#include <fluent-bit/flb_mem.h>
23+
#include <fluent-bit/flb_compat.h>
2324
#include <fluent-bit/flb_pipe.h>
2425
#include <fluent-bit/flb_engine.h>
2526
#include <fluent-bit/flb_input.h>
@@ -39,7 +40,6 @@
3940
#include <signal.h>
4041
#include <stdarg.h>
4142
#include <sys/stat.h>
42-
#include <unistd.h>
4343
#include <errno.h>
4444
#include <stdlib.h>
4545

0 commit comments

Comments
 (0)