diff --git a/StructFields.pm b/StructFields.pm
index 62bfa7f21..32b449a34 100644
--- a/StructFields.pm
+++ b/StructFields.pm
@@ -38,7 +38,7 @@ sub with_struct_block(&$;$%) {
my $is_union = is_attr_true($tag,'is-union');
my $kwd = ($is_union ? "union" : "struct");
- my $exp = $export_prefix; #$flags{-export} ? $export_prefix : '';
+ my $exp = $name ? $export_prefix : '';
header_ref("Export.h");
header_ref("DataDefs.h");
my $prefix = $kwd.' '.$exp.($name ? $name.' ' : '');
diff --git a/df.advmode.xml b/df.advmode.xml
index 299d2f858..c48ece1ae 100644
--- a/df.advmode.xml
+++ b/df.advmode.xml
@@ -429,11 +429,60 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-