From: Marcel Raad Date: Fri, 30 Dec 2022 13:50:15 +0000 (+0100) Subject: lib670: make test.h the first include X-Git-Tag: curl-7_88_0~201 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49f39dfac9278060cb750e006d4f46e841cdfeb2;p=thirdparty%2Fcurl.git lib670: make test.h the first include As in all other lib tests. This avoids a macro redefinition warning for `_FILE_OFFSET_BITS` visible in the autobuilds. Closes https://github.com/curl/curl/pull/10182 --- diff --git a/tests/libtest/lib670.c b/tests/libtest/lib670.c index 8e992f894a..0751b92bba 100644 --- a/tests/libtest/lib670.c +++ b/tests/libtest/lib670.c @@ -22,14 +22,14 @@ * ***************************************************************************/ -#include - #if !defined(LIB670) && !defined(LIB671) #define CURL_DISABLE_DEPRECATION /* Using and testing the form api */ #endif #include "test.h" +#include + #include "memdebug.h" #define PAUSE_TIME 2