Subject: Re: compiling current on amd64 failed
To: Patrick Welche <prlw1@newn.cam.ac.uk>
From: Klaus Klein <kleink@mibh.de>
List: current-users
Date: 03/09/2005 17:02:43
On Wednesday, 9. March 2005 16:15, Patrick Welche wrote:

> Does this work? (Still surprised that uint64_t is OK, but uint32_t isn't..)

> Index: socket.h
> ===================================================================
> RCS file: /cvsroot/src/sys/sys/socket.h,v
> retrieving revision 1.73
> diff -u -r1.73 socket.h
> --- socket.h    9 Mar 2005 05:07:19 -0000       1.73
> +++ socket.h    9 Mar 2005 15:12:35 -0000
> @@ -73,6 +73,7 @@
>   * Data types.
>   */
>  #include <sys/ansi.h>
> +#include <sys/types.h>
>  
>  #ifndef sa_family_t
>  typedef __sa_family_t  sa_family_t;
> 
> 

Pulling in <sys/types.h> adds namespace pollution which is not desired
for this header.  This is the reason why we switched to using __uint64_t
etc. in there.


- Klaus