- Fix some compiler warnings.
- Remove superfluous #include statement.

diff --git a/dlls/dsound/dsound_main.c b/dlls/dsound/dsound_main.c
index 2eec215..d24ffd0 100644
--- a/dlls/dsound/dsound_main.c
+++ b/dlls/dsound/dsound_main.c
@@ -1192,7 +1192,7 @@
 		return DSERR_INVALIDPARAM;
 
 	*freq = This->freq;
-	TRACE("-> %d\n", *freq);
+	TRACE("-> %ld\n", *freq);
 
 	return DS_OK;
 }
diff --git a/dlls/winaspi/winaspi16.c b/dlls/winaspi/winaspi16.c
index 7bbae1f..d4a3393 100644
--- a/dlls/winaspi/winaspi16.c
+++ b/dlls/winaspi/winaspi16.c
@@ -14,7 +14,6 @@
 #include "aspi.h"
 #include "winescsi.h"
 #include "winaspi.h"
-#include "winescsi.h"
 #include "options.h"
 #include "heap.h"
 #include "debugtools.h"
diff --git a/graphics/path.c b/graphics/path.c
index d875f47..3a5ab79 100644
--- a/graphics/path.c
+++ b/graphics/path.c
@@ -67,7 +67,7 @@
 #define GROW_FACTOR_DENOM    1  /* Denominator of grow factor             */
 
 
-static BOOL PATH_PathToRegion(const GdiPath *pPath, INT nPolyFillMode,
+static BOOL PATH_PathToRegion(GdiPath *pPath, INT nPolyFillMode,
    HRGN *pHrgn);
 static void   PATH_EmptyPath(GdiPath *pPath);
 static BOOL PATH_AddEntry(GdiPath *pPath, const POINT *pPoint,
@@ -1133,7 +1133,7 @@
  * error occurs, SetLastError is called with the appropriate value and
  * FALSE is returned.
  */
-static BOOL PATH_PathToRegion(const GdiPath *pPath, INT nPolyFillMode,
+static BOOL PATH_PathToRegion(GdiPath *pPath, INT nPolyFillMode,
    HRGN *pHrgn)
 {
    int    numStrokes, iStroke, i;
@@ -1143,7 +1143,7 @@
    assert(pPath!=NULL);
    assert(pHrgn!=NULL);
 
-      PATH_FlattenPath(pPath);
+   PATH_FlattenPath(pPath);
 
    /* FIXME: What happens when number of points is zero? */
    
diff --git a/programs/winhelp/macro.yacc.y b/programs/winhelp/macro.yacc.y
index ceb125f..b26eb3b 100644
--- a/programs/winhelp/macro.yacc.y
+++ b/programs/winhelp/macro.yacc.y
@@ -5,6 +5,7 @@
  * Copyright 1996 Ulrich Schmid
  */
 
+#include <stdlib.h>
 #include "macro.h"
 
 static int   skip = 0;