summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Raad <Marcel.Raad@teamviewer.com>2022-12-30 14:50:15 +0100
committerMarcel Raad <Marcel.Raad@teamviewer.com>2022-12-30 21:57:35 +0100
commit49f39dfac9278060cb750e006d4f46e841cdfeb2 (patch)
treec839ecebbe6c3b8afc346e09068d26955e06cadf
parent71b7e0161032927cdfb4e75ea40f65b8898b3956 (diff)
downloadcurl-49f39dfac9278060cb750e006d4f46e841cdfeb2.tar.gz
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
-rw-r--r--tests/libtest/lib670.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/lib670.c b/tests/libtest/lib670.c
index 8e992f894..0751b92bb 100644
--- a/tests/libtest/lib670.c
+++ b/tests/libtest/lib670.c
@@ -22,14 +22,14 @@
*
***************************************************************************/
-#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