aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/m4.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter06/m4.xml b/chapter06/m4.xml
index c22282c1d..cf7934ee5 100644
--- a/chapter06/m4.xml
+++ b/chapter06/m4.xml
@@ -40,6 +40,12 @@
<sect2 role="installation">
<title>Installation of M4</title>
+ <para>Add a missing include directive that prevents M4 successfully building
+ against Glibc-&glibc-version;:</para>
+
+<screen><userinput remap="pre">sed -i -e '/"m4.h"/a\
+#include &lt;sys/stat.h&gt;' src/path.c</userinput></screen>
+
<para>Prepare M4 for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>