|
From: Julian S. <js...@ac...> - 2005-11-12 19:07:09
|
> > On my machine bits/sched.h (which gets pulled into sched.h) does not > > defined CLONE_THREAD. But linux/sched.h does. Should we #include > > <linux/sched.h> as well? > > It's not ideal as that is a kernel header, but it might be necessary. Can we get away with flags = .... #if defined(CLONE_THREAD) flags |= CLONE_THREAD; #endif ? Or does that make a nonsense of the test if it isn't defined? I'd prefer to avoid depending on more kernel headers if we can. J |