diff --git a/tests/esxutilstest.c b/tests/esxutilstest.c
index 55b3623..0c6f3cb 100644
--- a/tests/esxutilstest.c
+++ b/tests/esxutilstest.c
@@ -1,5 +1,7 @@
#include <config.h>
+#include "virutil.h"
+
#ifdef WITH_ESX
# include <stdio.h>
@@ -9,7 +11,6 @@
# include "internal.h"
# include "viralloc.h"
# include "testutils.h"
-# include "virutil.h"
# include "vmx/vmx.h"
# include "esx/esx_util.h"
# include "esx/esx_vi_types.h"
@@ -279,7 +280,6 @@ mymain(void)
VIRT_TEST_MAIN(mymain)
#else
-# include "testutils.h"
int main(void)
{
You moved "virutil.h" instead of "testutils.h" here.
Jan