Header files

Philip Blundell (pjb27@cam.ac.uk)
Thu, 7 Nov 1996 20:56:01 +0000 (GMT)

I'm running a system based on Red Hat 4.0. I've just upgraded my kernel
to 2.1.7 (with no diffs applied) and glibc 1.97. There seem to be all
sorts of header file problems going on, mostly centred around what
<linux/time.h> ought to declare.

I noticed that the axp-diffs used to change some of the include files in
/usr/include/linux quite a lot. Is this supposed to be no longer
necessary, and what's the best way to arrange things so that everything
works?

At the moment I've taken the linux/time.h from an old kernel with the
axp-diffs applied, and put an extra #ifdef __KERNEL__ around the
definitions of struct timezone and struct itimerval, and everything seems
to be fairly happy. But I've very probably done something stupid.

Does anybody have any suggestions?

phil

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com



Feedback | Store | News | Support | Product Errata | About Us | Linux Info | Search | JumpWords
No Frames | Show Frames

Copyright © 1995-1997 Red Hat Software. Legal notices