test: fix implicit function declaration warnings
Fixes the two following compiler warnings: ../test/run-tests.c: In function ‘maybe_run_test’: ../test/run-tests.c:117: warning: implicit declaration of function ‘write’ ../test/run-tests.c:118: warning: implicit declaration of function ‘fsync’
This commit is contained in:
parent
d8b95eaffb
commit
28ed730bfb
@ -24,6 +24,8 @@
|
|||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
# include <io.h>
|
# include <io.h>
|
||||||
|
#else
|
||||||
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "uv.h"
|
#include "uv.h"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user