Re: insmod with 2.1.5 #includes

Neil Moore (
Tue, 29 Oct 1996 18:09:33 -0500

> I fixed it by stuffing a #include <asm/user.h> right before the #include
> <linux/elf.h> in insmod/insmod.h, but should such an #include find its
> way into asm/elf.h or linux/elf.h?

I just patched my asm/elf.h to #include asm/user.h. Emacs undump
required this, too. This is necessary, anyway -- sizeof (struct
user_regs_struct) is invalid without a definition for user_regs_struct.

Version: 3.12
GCS/M/L d- s-:+ a--- C+++(++)>$ UL+(++)>++++$ P+++ L+++>++++$ E++ W-(--)
N++ o-- K-- w--- O- M-- V-- PS+++? PE Y+ PGP-- t+* 5- X R tv--? b+>+++ DI
D--- G e-(*)>++++ h r++>+++ y?