On Thursday 17 March 2005 20:55, Aziz KEZZOU wrote: > Here are the headers needed in case someone reads this thread: > > #include <unistd.h> /*needed only for NULL, can be removed*/ > #include <sys/types.h> > #include <sys/param.h>
As a community service: Style(9) instructs to include either <sys/types.h> OR <sys/param.h> but not both. The latter includes <sys/_null.h> which defines what you are already guessing. > #include <sys/lock.h> > #include <sys/mutex.h> > #include <sys/proc.h> -- /"\ Best regards, | [EMAIL PROTECTED] \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | [EMAIL PROTECTED] / \ ASCII Ribbon Campaign | Against HTML Mail and News
pgphDLeIs8vq7.pgp
Description: PGP signature