From 28ed730bfbc3798eaddbc9d5d5438feb8deeb14f Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Sun, 3 Jun 2012 01:17:22 +0200 Subject: [PATCH] test: fix implicit function declaration warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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’ --- test/run-tests.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/run-tests.c b/test/run-tests.c index 76255a62..fb163037 100644 --- a/test/run-tests.c +++ b/test/run-tests.c @@ -24,6 +24,8 @@ #ifdef _WIN32 # include +#else +# include #endif #include "uv.h"