Commit 25d3bc30 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

netprofm: Fix compilation on systems that don't support nameless unions.

parent c6e46934
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
*/ */
#define COBJMACROS #define COBJMACROS
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "config.h" #include "config.h"
#include <stdarg.h> #include <stdarg.h>
...@@ -1693,7 +1695,7 @@ static void init_networks( struct list_manager *mgr ) ...@@ -1693,7 +1695,7 @@ static void init_networks( struct list_manager *mgr )
struct network *network; struct network *network;
struct connection *connection; struct connection *connection;
id.Data1 = aa->IfIndex; id.Data1 = aa->u.s.IfIndex;
/* assume a one-to-one mapping between networks and connections */ /* assume a one-to-one mapping between networks and connections */
if (!(network = create_network( &id ))) goto done; if (!(network = create_network( &id ))) goto done;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment