aboutsummaryrefslogtreecommitdiffstats
path: root/tools/pidl
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-01-18 22:14:07 +0000
committerGuy Harris <guy@alum.mit.edu>2013-01-18 22:14:07 +0000
commit971059b7f1817cb75ee93233b6c170264a62a5b0 (patch)
tree3b7849491c86786783285fb0448a2289fccbf913 /tools/pidl
parent2a1e61d5823f5526e87d98a93663042ed5963817 (diff)
Add an RCS ID to the generated dissector.
Wireshark always expects there to be a config.h, so don't test HAVE_CONFIG_H any more. svn path=/trunk/; revision=47156
Diffstat (limited to 'tools/pidl')
-rw-r--r--tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm b/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
index 46c9850b56..0c0eb1fd02 100644
--- a/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
+++ b/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
@@ -1017,6 +1017,8 @@ sub Parse($$$$$)
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at http://wiki.wireshark.org/Pidl
+
+ \$Id\$
*/
";
@@ -1024,9 +1026,7 @@ sub Parse($$$$$)
$self->pidl_hdr($notice);
$self->{res}->{headers} = "\n";
- $self->{res}->{headers} .= "#ifdef HAVE_CONFIG_H\n";
$self->{res}->{headers} .= "#include \"config.h\"\n";
- $self->{res}->{headers} .= "#endif\n\n";
$self->{res}->{headers} .= "#ifdef _MSC_VER\n";
$self->{res}->{headers} .= "#pragma warning(disable:4005)\n";