From f85675510f9028879228193bae25f1b127134fc4 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Mon, 4 Aug 2014 12:34:24 -0400 Subject: [PATCH] Correct includes for unlockiter.c Some platforms (e.g., Solaris) need a declaration of memset() for the FD_ZERO() macro to work, contrary to POSIX standards. Add an inclusion of to accommodate them. Also add , possibly needed by some older platforms, and remove a spurious inclusion of . ticket: 7977 --- src/tests/unlockiter.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tests/unlockiter.c b/src/tests/unlockiter.c index e2f2eb5eda..b0c48f9595 100644 --- a/src/tests/unlockiter.c +++ b/src/tests/unlockiter.c @@ -35,7 +35,8 @@ */ #include -#include +#include +#include #include #include @@ -43,6 +44,7 @@ #include #include #include +#include /* Some platforms need memset() for FD_ZERO */ #include struct cb_arg { -- 2.47.2