[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [PATCH 1/6] Fix compile error on MSVC 2010: tchar.h must come before strsafe.h



---
 RHSrvAny/RHSrvAny.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/RHSrvAny/RHSrvAny.c b/RHSrvAny/RHSrvAny.c
index 3639d22..12d9884 100644
--- a/RHSrvAny/RHSrvAny.c
+++ b/RHSrvAny/RHSrvAny.c
@@ -29,13 +29,12 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <tchar.h>
 
 #ifdef HAVE_STRSAFE
 #include <strsafe.h>
 #endif
 
-#include <tchar.h>
-
 #include "RHSrvAny.h"
 
 static TCHAR *svcname = TEXT("RHSrvAny");
-- 
1.8.3.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]