Subject: Compiling Xfree 4 fails
To: None <current-users@netbsd.org>
From: Samuel.Hornus <Samuel.Hornus@crans.org>
List: current-users
Date: 06/02/2001 17:25:59
Hello,

In /usr/xsrc/xfree/xc/programs/Xserver/include/compile.h,

#ifndef __NetBSD__
#ifndef MAP_FAILED
#define MAP_FAILED ((void *)-1)
#endif
#endif

but complains a few lines after that MAP_FAILED is not defined...
Should I change the first line above by
#ifdef __NetBSD__
?

Perhaps one of you know what's wrong here ?

Thank you

-- 
Samuel.