aboutsummaryrefslogtreecommitdiffstats
path: root/docbook/wsdg_src
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2012-09-19 01:37:13 +0000
committerJeff Morriss <jeff.morriss.ws@gmail.com>2012-09-19 01:37:13 +0000
commit22b7086fb91f059b1c6637cc881ac93fa10fff51 (patch)
tree49317a46814db07e2b1760eb5a1eea603572337f /docbook/wsdg_src
parent4a57360291672342936cc66da056b63aa04b2cc5 (diff)
We always HAVE_CONFIG_H so don't bother checking whether we have it or not.
svn path=/trunk/; revision=44997
Diffstat (limited to 'docbook/wsdg_src')
-rw-r--r--docbook/wsdg_src/WSDG_chapter_dissection.xml8
1 files changed, 2 insertions, 6 deletions
diff --git a/docbook/wsdg_src/WSDG_chapter_dissection.xml b/docbook/wsdg_src/WSDG_chapter_dissection.xml
index 52c5eac0cb..6bdfd4784f 100644
--- a/docbook/wsdg_src/WSDG_chapter_dissection.xml
+++ b/docbook/wsdg_src/WSDG_chapter_dissection.xml
@@ -76,9 +76,7 @@
</para>
<example><title>Dissector Initialisation.</title>
<programlisting>
-<![CDATA[#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
+<![CDATA[#include "config.h"
#include <epan/packet.h>
@@ -970,9 +968,7 @@ static gint *ett[] =
<example>
<title>Reassembling TCP fragments</title>
<programlisting>
-<![CDATA[#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
+<![CDATA[#include "config.h"
#include <epan/packet.h>
#include <epan/prefs.h>