Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 May 2000 12:27:14 +0200 (MET DST)
From:      Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
To:        Alexandre Julliard <julliard@lrc.epfl.ch>
Cc:        freebsd-emulation@freebsd.org
Subject:   Wine PATCH: include/winsock.h
Message-ID:  <Pine.GSO.4.21.0005051222530.1120-100000@nunki.dbai.tuwien.ac.at>

next in thread | raw e-mail | index | archive | help
Suggested ChangeLog:

  Improve portability by #including <sys/types.h> before <netinet/in.h>.

Soloris 2.6 and probably Linux as well do that #include from within
netinet/in.h, but on FreeBSD 3.4, for example, this is not the case.

With this patch, current Wine CVS sources finally build on FreeBSD 3.4
without problems again.

Gerald

Index: winsock.h
===================================================================
RCS file: /home/wine/wine/include/winsock.h,v
retrieving revision 1.24
diff -c -3 -p -r1.24 winsock.h
*** winsock.h	2000/05/03 18:08:27	1.24
--- winsock.h	2000/05/05 10:22:51
***************
*** 13,18 ****
--- 13,19 ----
  #undef FSHIFT
  #undef PAGESIZE
  #undef TRANSPARENT
+ #include <sys/types.h>
  #include <netinet/in.h>
  #undef FSHIFT
  #undef PAGESIZE

Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.21.0005051222530.1120-100000>