]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
lib670: make test.h the first include
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Fri, 30 Dec 2022 13:50:15 +0000 (14:50 +0100)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Fri, 30 Dec 2022 20:57:35 +0000 (21:57 +0100)
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

tests/libtest/lib670.c

index 8e992f894ad249fe2b551cd5b18f33123bb21c2b..0751b92bba3dec326f9145c95f04ef77ce7aaf4e 100644 (file)
  *
  ***************************************************************************/
 
-#include <time.h>
-
 #if !defined(LIB670) && !defined(LIB671)
 #define CURL_DISABLE_DEPRECATION  /* Using and testing the form api */
 #endif
 
 #include "test.h"
 
+#include <time.h>
+
 #include "memdebug.h"
 
 #define PAUSE_TIME      2