summaryrefslogtreecommitdiff
path: root/tests/test_speed.c
diff options
context:
space:
mode:
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)
{