FreeBSD Compilation Fix

Dimitrie O. Paun dpaun at rogers.com
Sun Jan 12 09:09:35 CST 2003


On January 11, 2003 09:00 pm, Jared Goldberg wrote:
> Index: dlls/dsound/tests/dsound.c
> ===================================================================
> RCS file: /home/wine/wine/dlls/dsound/tests/dsound.c,v
> retrieving revision 1.3
> diff -r1.3 dsound.c
> 20a21,23
>
> >#if defined(__FreeBSD__)
> >#include <stdlib.h>
> >#else
>
> 21a25
>
> >#endif

Uniffied diffs please:
  cvs diff -u
or
  diff -u

See:
  http://www.winehq.org/development/#patches

In this case, I suggest you just include stdlib.h without any ifdefs.
It's a standard header, it should exist on all systems.


-- 
Dimi.




More information about the wine-devel mailing list