On Sat, 2002-10-12 at 21:58, Shachar Shemesh wrote: > make[2]: Entering directory `/home/sun/sources/wine/wine/dlls/d3d8' > ../../tools/makedep -I. -I. -I../../include -I../../include > -I/usr/X11R6/include -C. basetexture.c cubetexture.c d3d8_main.c > device.c directx.c indexbuffer.c resource.c surface.c swapchain.c > texture.c vertexbuffer.c volume.c volumetexture.c > math.h: No such file or directory > math.h was first included from device.c:26 > make[2]: *** [depend] Error 1 > make[2]: Leaving directory `/home/sun/sources/wine/wine/dlls/d3d8' > make[1]: *** [d3d8/__depend__] Error 2 > make[1]: Leaving directory `/home/sun/sources/wine/wine/dlls' > make: *** [dlls/__depend__] Error 2 > > The strange thing is that /usr/include/math.h exists, and seems ok. Then > again, it does not appear to be in the include path provided for the > command. Explanations? > Shachar I have this problem as well, it seems to be caused by the author including "math.h" instead of <math.h>, tiny Patch Attached --
Matthew Davison
Index: dlls/d3d8/device.c =================================================================== RCS file: /home/wine/wine/dlls/d3d8/device.c,v retrieving revision 1.3 diff -u -r1.3 device.c --- dlls/d3d8/device.c 11 Oct 2002 23:31:07 -0000 1.3 +++ dlls/d3d8/device.c 12 Oct 2002 21:09:07 -0000 @@ -23,7 +23,7 @@ #include "winuser.h" #include "wingdi.h" #include "wine/debug.h" -#include "math.h" +#include <math.h> #include "d3d8_private.h"