Skip to content

Commit 8874e0d

Browse files
committed
storage: internal: tests: Include dirent.h properly
Signed-off-by: Hiroshi Hatake <[email protected]>
1 parent 4530987 commit 8874e0d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/internal/storage_dlq.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@
1717

1818
#include "flb_tests_internal.h"
1919

20-
#ifdef _WIN32
20+
#ifdef FLB_SYSTEM_WINDOWS
2121
# define FLB_UNLINK _unlink
2222
# define FLB_RMDIR _rmdir
2323
#else
24+
# include <dirent.h>
2425
# define FLB_UNLINK unlink
2526
# define FLB_RMDIR rmdir
2627
#endif

0 commit comments

Comments
 (0)