From 5641503ae7708f0da72d8ac883d60734335b8033 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 8 Sep 2011 00:11:16 +0200 Subject: [PATCH] test: fix compiler warnings for test-fs.c Include on Unices, fixes warnings about unlink() not being declared. --- test/test-fs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/test-fs.c b/test/test-fs.c index b1c98861..638e25f8 100644 --- a/test/test-fs.c +++ b/test/test-fs.c @@ -31,7 +31,9 @@ #include -#if !UNIX +#if UNIX +#include /* unlink, rmdir, etc. */ +#else # include # include # define unlink _unlink