From aa573c3c55cda72ec5ef677d87f6f46a53385f0c Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Mon, 10 Apr 2017 21:59:42 +0200 Subject: poll: prefer over The POSIX standard location is . Using results in warning spam when using the musl standard library. Closes https://github.com/curl/curl/pull/1406 --- src/tool_sleep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/tool_sleep.c b/src/tool_sleep.c index d878512ac..e19db5a77 100644 --- a/src/tool_sleep.c +++ b/src/tool_sleep.c @@ -25,10 +25,10 @@ # include #endif -#ifdef HAVE_SYS_POLL_H -# include -#elif defined(HAVE_POLL_H) +#ifdef HAVE_POLL_H # include +#elif defined(HAVE_SYS_POLL_H) +# include #endif #ifdef MSDOS -- cgit v1.2.3