[Gambas-user] Gambas / FreeBSD.

Daniel Campos daniel.campos at ...338...
Sat Jan 31 11:08:13 CET 2004


>        'Update clock
> 
> 6) Includes
> I cannot define <netinet/in.h> before <sys/types.h>:
> 
> --- src/lib/net/CSocket.h.orig	Fri Nov 28 00:19:20 2003
> +++ src/lib/net/CSocket.h	Sun Jan 25 00:30:39 2004
> @@ -25,11 +25,11 @@
>  #define __CSOCKET_H
>  
>  #include "gambas.h"
> -#include <netinet/in.h>
>  #include <arpa/inet.h>
>  #include <sys/un.h>
>  #include <sys/types.h>
>  #include <sys/socket.h>
> +#include <netinet/in.h>
>  #include <unistd.h>
>  #include <netdb.h>
>  #include "CDnsClient.h"
> 

OK, I'll change the order in the net component

Regards,

Daniel Campos





More information about the User mailing list