aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/inetutils.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/inetutils.xml')
-rw-r--r--chapter06/inetutils.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter06/inetutils.xml b/chapter06/inetutils.xml
index 814c8eb0f..e1e87b1c9 100644
--- a/chapter06/inetutils.xml
+++ b/chapter06/inetutils.xml
@@ -47,6 +47,12 @@
<screen><userinput remap="pre">patch -Np1 -i ../&inetutils-man_pages-patch;</userinput></screen>
+ <para>Inetutils has a minor issue with GCC-&gcc-version;. Fix it by
+ issuing the following command:</para>
+
+<screen><userinput remap="pre">sed -i 's@&lt;sys/types.h&gt;@&lt;sys/types.h&gt;\n#include &lt;stdlib.h&gt;@' \
+ libicmp/icmp_timestamp.c</userinput></screen>
+
<para>Prepare Inetutils for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr --libexecdir=/usr/sbin \