2005-10-11 Dick Porter <dick@ximian.com>
[mono.git] / mono / io-layer / system.h
index 847114a246a208d36d8f4226b91f2c879a1e00b8..390b1776b7d0cab9fbec9e5bd36b6acad3a3b885 100644 (file)
@@ -12,6 +12,8 @@
 
 #include <glib.h>
 
+G_BEGIN_DECLS
+
 typedef struct _WapiSystemInfo WapiSystemInfo;
 
 struct _WapiSystemInfo 
@@ -23,8 +25,8 @@ struct _WapiSystemInfo
                {
                        guint16 wProcessorArchitecture;
                        guint16 wReserved;
-               };
-       };
+               } _anon_struct;
+       } _anon_union;
        
        guint32 dwPageSize;
        gpointer lpMinimumApplicationAddress;
@@ -39,4 +41,5 @@ struct _WapiSystemInfo
 
 extern void GetSystemInfo(WapiSystemInfo *info);
 
+G_END_DECLS
 #endif /* _WAPI_SYSTEM_H_ */