On Thu, 2007-01-04 at 08:48 +0200, Daniel Iliev wrote: > Iain Buchanan wrote: > > Hi all, > > > > I was just trying to compile one of my programs that includes > > linux/threads.h for the #define PID_MAX_DEFAULT, however, threads.h > > isn't there anymore!
[snip] > grep -n PID_MAX_DEFAULT /usr/include/linux/threads.h > 28:#define PID_MAX_DEFAULT 0x8000 > 33:#define PID_MAX_LIMIT (sizeof(long) > 4 ? 4*1024*1024 : PID_MAX_DEFAULT) $ ls /usr/include/linux/threads.h ls: cannot access /usr/include/linux/threads.h: No such file or directory $ slocate threads.h /usr/include/X11/Xthreads.h /usr/include/libxml2/libxml/threads.h /usr/include/dbus-1.0/dbus/dbus-threads.h /usr/include/stlport/stl/_threads.h /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/g++-v3/bits/stl_threads.h /usr/lib/klibc/include/linux/threads.h /usr/share/doc/libvorbis-1.1.2/txt/doc/vorbisfile/threads.html /usr/src/linux-2.6.18-suspend2/include/linux/threads.h /usr/src/linux-2.6.19-suspend2-r1/include/linux/threads.h but I don't want to -I any of those! > It comes with "sys-kernel/linux-headers". $ equery l linux-headers [ Searching for package 'linux-headers' in all categories among: ] * installed packages [I--] [ ~] sys-kernel/linux-headers-2.6.19 (0) what version do you have? thanks, -- Iain Buchanan <iaindb at netspace dot net dot au> The main problem I have with cats is, they're not dogs. -- Kevin Cowherd -- gentoo-user@gentoo.org mailing list