This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Missing .h file


Xarch.h doesnt contain any reference to <bits/endian.h>
endian.h shouldnt be included at all if you didnt defined linux...

#ifdef SVR4
#if !defined(sun) && !defined(__sgi)
#include <sys/byteorder.h>
#endif
#endif
#elif defined(CSRG_BASED)
#if defined(__NetBSD__) || defined(__OpenBSD__)
#include <sys/types.h>
#endif
#include <machine/endian.h>
#elif defined(linux)
#if defined __STRICT_ANSI__
#undef __STRICT_ANSI__
#include <endian.h>
#define __STRICT_ANSI__
#else
#include <endian.h>
#endif

--- ROBERT WILSON <rwilson@comcast.net> a écrit?: > 
> The file /usr/X11R6/include/X11/Xarch.h contains a reference to 
> endian.h.  That file was not in my distribution.  I found one on my 
> linux partition and copied it plus bits/endian.h to the 
> cygwin /usr/include directory and it worked.  Uname returns
> CYGWIN_NT-5.1.
> 
> I am amazed at how much XFree86 makes cygwin feel like linux.
> 
> Thanks,
> Bob wilson
> 
>  

=====
Sylvain Petreolle (spetreolle at users dot sourceforge dot net) ICQ #170597259
No more War !

"What if tomorrow the War could be over ?" Morpheus, in "Reloaded".

For the Law of Oil and Fire, Im an European that lives in France.
For all my Brothers and friends, Im a human living on Earth.

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]