summaryrefslogtreecommitdiffstats
path: root/examples/rotate.c
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2012-09-11 22:50:18 +0300
committerChristian Beier <dontmind@freeshell.org>2012-09-14 18:47:53 +0200
commit8f544bd276fcabc52d3816fb0814229805c8d198 (patch)
treed0024f56d7b15410af3af86deaf36f4192f35f9e /examples/rotate.c
parenta63312c6fbb26dffdaf9ab05b89a34bf7591e7d9 (diff)
downloadlibtdevnc-8f544bd276fcabc52d3816fb0814229805c8d198.tar.gz
libtdevnc-8f544bd276fcabc52d3816fb0814229805c8d198.zip
Work around a gcc bug with anonymous structs and unions.
GCC < 4.6 failed to parse the declaration of ws_header_t correctly because it did not accept anonymous structs and unions. [1] Work around the bug by adding names to the unions and structs. Ugly, but works. [1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4784
Diffstat (limited to 'examples/rotate.c')
0 files changed, 0 insertions, 0 deletions