diff --git a/dlls/dsound/buffer.c b/dlls/dsound/buffer.c index d416c85c726..43d1ff674fe 100644 --- a/dlls/dsound/buffer.c +++ b/dlls/dsound/buffer.c @@ -19,31 +19,15 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "config.h" -#include #include -#include -#include -#include -#ifdef HAVE_UNISTD_H -# include -#endif -#include -#include -#include #define NONAMELESSSTRUCT #define NONAMELESSUNION #include "windef.h" #include "winbase.h" -#include "wingdi.h" -#include "winuser.h" -#include "winerror.h" #include "mmsystem.h" #include "winreg.h" #include "winternl.h" -#include "mmddk.h" -#include "wine/windef16.h" #include "wine/debug.h" #include "dsound.h" #include "dsdriver.h" diff --git a/dlls/dsound/capture.c b/dlls/dsound/capture.c index 1d4e4ea64a3..4f806255a14 100644 --- a/dlls/dsound/capture.c +++ b/dlls/dsound/capture.c @@ -24,23 +24,12 @@ * Implement FX support. */ -#include "config.h" -#include #include -#include -#include -#include -#ifdef HAVE_UNISTD_H -# include -#endif -#include -#include +#define NONAMELESSSTRUCT +#define NONAMELESSUNION #include "windef.h" #include "winbase.h" -#include "wingdi.h" -#include "winuser.h" -#include "winerror.h" #include "mmsystem.h" #include "mmddk.h" #include "winreg.h" diff --git a/dlls/dsound/dsound.c b/dlls/dsound/dsound.c index fcd097553f0..cbd455fb17a 100644 --- a/dlls/dsound/dsound.c +++ b/dlls/dsound/dsound.c @@ -20,38 +20,21 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "config.h" -#include "wine/port.h" - #include #include -#include -#include -#ifdef HAVE_UNISTD_H -# include -#endif -#include -#include #define NONAMELESSSTRUCT #define NONAMELESSUNION #include "windef.h" #include "winbase.h" #include "winreg.h" -#include "winuser.h" -#include "wingdi.h" -#include "winuser.h" -#include "winerror.h" #include "mmsystem.h" #include "winternl.h" #include "mmddk.h" -#include "wine/windef16.h" -#include "wine/winbase16.h" #include "wine/debug.h" #include "dsound.h" #include "dsdriver.h" #include "dsound_private.h" -#include "dsconf.h" WINE_DEFAULT_DEBUG_CHANNEL(dsound); diff --git a/dlls/dsound/dsound_main.c b/dlls/dsound/dsound_main.c index d3cf0f91f12..c22adce3b07 100644 --- a/dlls/dsound/dsound_main.c +++ b/dlls/dsound/dsound_main.c @@ -36,37 +36,18 @@ * Optimize WINMM and negotiate fragment size, decrease DS_HEL_MARGIN */ -#include "config.h" -#include "wine/port.h" - -#include #include -#include -#include -#include -#ifdef HAVE_UNISTD_H -# include -#endif -#include -#include -#include #define COBJMACROS #define NONAMELESSSTRUCT #define NONAMELESSUNION - #include "windef.h" #include "winbase.h" +#include "winnls.h" #include "winreg.h" -#include "winuser.h" -#include "wingdi.h" -#include "winuser.h" -#include "winerror.h" #include "mmsystem.h" #include "winternl.h" #include "mmddk.h" -#include "wine/windef16.h" -#include "wine/winbase16.h" #include "wine/debug.h" #include "dsound.h" #include "dsdriver.h" diff --git a/dlls/dsound/mixer.c b/dlls/dsound/mixer.c index d66ffc28f55..eb7fb35856d 100644 --- a/dlls/dsound/mixer.c +++ b/dlls/dsound/mixer.c @@ -19,29 +19,17 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "config.h" #include #include -#include -#include -#include -#ifdef HAVE_UNISTD_H -# include -#endif -#include -#include #include /* Insomnia - pow() function */ +#define NONAMELESSSTRUCT +#define NONAMELESSUNION #include "windef.h" #include "winbase.h" -#include "wingdi.h" -#include "winuser.h" -#include "winerror.h" #include "mmsystem.h" #include "winreg.h" #include "winternl.h" -#include "mmddk.h" -#include "wine/windef16.h" #include "wine/debug.h" #include "dsound.h" #include "dsdriver.h" diff --git a/dlls/dsound/primary.c b/dlls/dsound/primary.c index ca70d213d83..d27f5075033 100644 --- a/dlls/dsound/primary.c +++ b/dlls/dsound/primary.c @@ -19,29 +19,16 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "config.h" -#include #include -#include -#include -#include -#ifdef HAVE_UNISTD_H -# include -#endif -#include -#include -#include /* Insomnia - pow() function */ +#define NONAMELESSSTRUCT +#define NONAMELESSUNION #include "windef.h" #include "winbase.h" -#include "wingdi.h" -#include "winuser.h" -#include "winerror.h" #include "mmsystem.h" #include "winreg.h" #include "winternl.h" #include "mmddk.h" -#include "wine/windef16.h" #include "wine/debug.h" #include "dsound.h" #include "dsdriver.h" diff --git a/dlls/dsound/propset.c b/dlls/dsound/propset.c index d0507c31268..ad5d9f55b66 100644 --- a/dlls/dsound/propset.c +++ b/dlls/dsound/propset.c @@ -19,32 +19,17 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "config.h" -#include #include -#include -#include -#include -#ifdef HAVE_UNISTD_H -#include -#endif -#include -#include -#include /* Insomnia - pow() function */ #define NONAMELESSUNION #define NONAMELESSSTRUCT #include "windef.h" #include "winbase.h" -#include "wingdi.h" -#include "winuser.h" -#include "winerror.h" #include "mmsystem.h" #include "winreg.h" #include "winternl.h" #include "winnls.h" #include "mmddk.h" -#include "wine/windef16.h" #include "wine/debug.h" #include "dsound.h" #include "dsdriver.h" diff --git a/dlls/dsound/regsvr.c b/dlls/dsound/regsvr.c index 109ca747bf9..0636c5aa139 100644 --- a/dlls/dsound/regsvr.c +++ b/dlls/dsound/regsvr.c @@ -19,14 +19,13 @@ */ #include -#include +#define NONAMELESSSTRUCT +#define NONAMELESSUNION #include "windef.h" #include "winbase.h" -#include "wingdi.h" #include "winuser.h" #include "winreg.h" -#include "winerror.h" #include "mmsystem.h" #include "dsound.h" diff --git a/dlls/dsound/sound3d.c b/dlls/dsound/sound3d.c index 6b9632893e3..969bc94e9f0 100644 --- a/dlls/dsound/sound3d.c +++ b/dlls/dsound/sound3d.c @@ -37,31 +37,17 @@ * Optimize WINMM and negotiate fragment size, decrease DS_HEL_MARGIN */ -#include "config.h" -#include #include -#include -#include -#include -#ifdef HAVE_UNISTD_H -# include -#endif -#include -#include #include /* Insomnia - pow() function */ #define NONAMELESSUNION #define NONAMELESSSTRUCT #include "windef.h" #include "winbase.h" -#include "wingdi.h" -#include "winuser.h" -#include "winerror.h" #include "mmsystem.h" #include "winreg.h" #include "winternl.h" #include "mmddk.h" -#include "wine/windef16.h" #include "wine/debug.h" #include "dsound.h" #include "dsdriver.h"