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

Matthew Booth mbooth at redhat.com
Mon Nov 18 14:17:45 UTC 2013


---
 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




More information about the Libguestfs mailing list