FreeBSD Compilation Fix

Jared Goldberg kheprifu at msn.com
Sat Jan 11 20:00:02 CST 2003


Just added an ifdef to make sure it compiles on FreeBSD 5.0. It's been 
deprecated for a while, so it should compile well on previous versions just 
fine, made sure to check for that anyway.

This could probably be improved to also include an ifdef for <slab.h>
or whatever the non-deprecated equivilent is on Linux now as
well.

There were also a few FreeBSD maintainer changes nessessary to get things 
working properly (like for winedefault.reg), but perhaps someone feels up to 
making that a system-independant file too? *shrug*

Name:          Inanna
Email:	       kheprifu at msn.com
ChangeLog:     Simple change for FreeBSD (5.0) compatibility.
License:       X11
GenDate:       2003/01/11 17:38 UTC
ModifiedFiles: dlls/dsound/tests/dsound.c
AddedFiles:

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


_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus




More information about the wine-patches mailing list