 +#define WS2TCPIP_INLINE inline
  #else
 -#define WS2TCPIP_INLINE extern inline /* GNU style */
-+#define WS2TCPIP_INLINE static
++#define WS2TCPIP_INLINE static __inline__
  #endif
      
  #include <in6addr.h>

 
 extern RPC_IF_HANDLE __MIDL_itf_qedit_0001_0097_v0_0_c_ifspec;
--- include/shlobj.h.orig	2008-01-18 22:17:36.000000000 +0900
+++ include/shlobj.h	2008-03-26 23:51:11.765375000 +0900
@@ -1,3 +1,6 @@
+#if __GNUC__ >=3
+#pragma GCC system_header

+#ifdef __cplusplus
+#define __inline inline
+#else
+#define __inline static __inline__
+#endif
 
 #ifdef __cplusplus
