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:
Ben Noordhuis 2012-06-03 01:17:22 +02:00
parent d8b95eaffb
commit 28ed730bfb

View File

@ -24,6 +24,8 @@
#ifdef _WIN32
# include <io.h>
#else
# include <unistd.h>
#endif
#include "uv.h"