summaryrefslogtreecommitdiff
path: root/tests/test_speed.c
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2026-01-07 19:19:44 +0100
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2026-01-07 19:19:44 +0100
commit1dd83cf7e527ff29d734f6a2c8f9b61d39b41d94 (patch)
treeda5185757a055488bdc9cbb7d17077a8f36596a9 /tests/test_speed.c
parent1e2f270469c61337ef7f5f92ab93f691e5d86492 (diff)
Diffstat (limited to 'tests/test_speed.c')
-rw-r--r--tests/test_speed.c15
1 files changed, 12 insertions, 3 deletions
diff --git a/tests/test_speed.c b/tests/test_speed.c
index 51476c94940b..ed539402067b 100644
--- a/tests/test_speed.c
+++ b/tests/test_speed.c
@@ -21,13 +21,24 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "ucl.h"
+#include "ucl_internal.h"
+
#include <sys/types.h>
+
+#ifndef _WIN32
#include <sys/mman.h>
-#include <sys/stat.h>
#include <sys/time.h>
+#endif
+
+#include <sys/stat.h>
#include <stdio.h>
#include <errno.h>
+
+#ifndef _WIN32
#include <unistd.h>
+#endif
+
#include <fcntl.h>
#include <time.h>
@@ -37,8 +48,6 @@
#endif
#endif
-#include "ucl.h"
-
static double
get_ticks (void)
{