FreeBSD Compilation Fix

Jared Goldberg kheprifu at
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

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
ChangeLog:     Simple change for FreeBSD (5.0) compatibility.
License:       X11
GenDate:       2003/01/11 17:38 UTC
ModifiedFiles: dlls/dsound/tests/dsound.c

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
>#if defined(__FreeBSD__)
>#include <stdlib.h>

MSN 8 with e-mail virus protection service: 2 months FREE*

More information about the wine-patches mailing list