aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/psmisc.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/psmisc.xml')
-rw-r--r--chapter06/psmisc.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter06/psmisc.xml b/chapter06/psmisc.xml
index 7232f01f8..2e7561014 100644
--- a/chapter06/psmisc.xml
+++ b/chapter06/psmisc.xml
@@ -41,6 +41,11 @@
<sect2 role="installation">
<title>Installation of Psmisc</title>
+ <para>Fix a bug that prevents <command>peekfd</command> from being built on
+ the x86_64 architecture:</para>
+
+<screen><userinput remap="pre">sed -i 's@#include &lt;sys\/user.h&gt;@#include &lt;bits\/types.h&gt;\n&amp;@' configure</userinput></screen>
+
<para>Prepare Psmisc for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>