Include only needed headers in programs/winhelp

Francois Gouget fgouget at free.fr
Sun Dec 2 14:15:00 CST 2001


On Sun, 2 Dec 2001, James Juran wrote:

> James Juran <jamesjuran at alumni.psu.edu>
> Only include the necessary files to avoid conflicts in gethostname
> prototypes between winsock.h and unistd.h

   'unistd.h' does not exist on Windows. Since this is a Winelib
application it would be good to try to make it compile on Windows
too. So I would rather be in favor of removing the 'unistd.h' #include
directive unless something prevents that.


--
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
      Any sufficiently advanced bug is indistinguishable from a feature.
                            -- from some indian guy





More information about the wine-devel mailing list