PATCH: files/smb.c

Francois Gouget fgouget at free.fr
Mon Mar 18 17:31:51 CST 2002


On Sat, 16 Mar 2002, Gerald Pfeifer wrote:

> This patch is required to make the newly contributed files/smb.c compile
> on FreeBSD 4.x (and Solaris 2.x, far as I can see).

   You should test HAVE_NETINET_IN_SYSTM_H and HAVE_NETINET_IN_H. looks
good otherwise.

> ChangeLog:
>   Add missing #includes for FreeBSD and Solaris.
>
> Index: smb.c
> ===================================================================
> RCS file: /home/wine/wine/files/smb.c,v
> retrieving revision 1.1
> diff -u -3 -p -r1.1 smb.c
> --- smb.c	12 Mar 2002 19:24:04 -0000	1.1
> +++ smb.c	16 Mar 2002 12:48:20 -0000
> @@ -53,6 +53,8 @@
>  #include <utime.h>
>  #include <sys/socket.h>
>  #include <sys/types.h>
> +#include <netinet/in_systm.h>
> +#include <netinet/in.h>
>  #include <netinet/ip.h>
>  #include <arpa/inet.h>


--
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
        It really galls me that most of the computer power in the world
                          is wasted on screen savers.
                     Chris Caldwell from the GIMPS project
                       http://www.mersenne.org/prime.htm





More information about the wine-devel mailing list