summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/pipe-loader/pipe_loader.h
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2012-05-16 15:43:29 +0200
committerFrancisco Jerez <currojerez@riseup.net>2012-05-16 18:51:35 +0200
commit03e3bc4ba56f1021899a5f773b6ec21893619e3a (patch)
treeefd449367808e97d23cd77d5c35b459ac12d4527 /src/gallium/auxiliary/pipe-loader/pipe_loader.h
parent88a2e2388bfeee66cb6d873558431b0e0af7e316 (diff)
downloadexternal_mesa3d-03e3bc4ba56f1021899a5f773b6ec21893619e3a.zip
external_mesa3d-03e3bc4ba56f1021899a5f773b6ec21893619e3a.tar.gz
external_mesa3d-03e3bc4ba56f1021899a5f773b6ec21893619e3a.tar.bz2
gallium/auxiliary/pipe-loader: Fix usage of anonymous union.
Anonymous unions aren't part of the C99 standard. Fixes build on GCC versions older than 4.6. https://bugs.freedesktop.org/show_bug.cgi?id=50001 Reported-by: Michael Lange <michaell@gmx.org>
Diffstat (limited to 'src/gallium/auxiliary/pipe-loader/pipe_loader.h')
-rw-r--r--src/gallium/auxiliary/pipe-loader/pipe_loader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader.h b/src/gallium/auxiliary/pipe-loader/pipe_loader.h
index e419694..21a609f 100644
--- a/src/gallium/auxiliary/pipe-loader/pipe_loader.h
+++ b/src/gallium/auxiliary/pipe-loader/pipe_loader.h
@@ -58,7 +58,7 @@ struct pipe_loader_device {
int vendor_id;
int chip_id;
} pci;
- }; /**< Discriminated by \a type */
+ } u; /**< Discriminated by \a type */
const char *driver_name;
const struct pipe_loader_ops *ops;