diff options
Diffstat (limited to 'chapter06/shadow.xml')
-rw-r--r-- | chapter06/shadow.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml index 76ea1f075..cba368d08 100644 --- a/chapter06/shadow.xml +++ b/chapter06/shadow.xml @@ -43,6 +43,11 @@ working:</para> <screen><userinput>echo '#define HAVE_SETLOCALE 1' >> config.h</userinput></screen> +<para>Shadow incorrectly declares the malloc() function, causing compilation +failure. Fix this:</para> + +<screen><userinput>sed -i '/extern char/d' libmisc/xmalloc.c</userinput></screen> + <para>Compile the package:</para> <screen><userinput>make</userinput></screen> |