On 8/9/10 12:04 PM, Matthew Burgess wrote:
> Thanks Jeremy.  Could you confirm the following sed has the same affect 
> please?
>
> sed -i -e 's/struct_rdx" "/&#include<bits\/types.h>\n/' configure

Nope, but this does:

sed -i 's...@#include <sys\/user.h>@#include <bits\/types.h>\n&@' configure

Yours was only catching one instance of the <sys/user.h> include, but 
the patch would place <bits/types.h> before all of them.

Jeremy
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to