diff --git a/dlls/advapi32/advapi.c b/dlls/advapi32/advapi.c index c0d7712d959..9c3dd4e7701 100644 --- a/dlls/advapi32/advapi.c +++ b/dlls/advapi32/advapi.c @@ -24,9 +24,10 @@ #include #include #include +#include -#include "winbase.h" #include "windef.h" +#include "winbase.h" #include "winnls.h" #include "winerror.h" diff --git a/dlls/crtdll/crtdll_main.c b/dlls/crtdll/crtdll_main.c index f2506b6d1df..10c1e1cc164 100644 --- a/dlls/crtdll/crtdll_main.c +++ b/dlls/crtdll/crtdll_main.c @@ -20,6 +20,7 @@ #include "config.h" +#include #include #include "windef.h" diff --git a/dlls/twain/capability.c b/dlls/twain/capability.c index 28311e71dc3..fb0fdfa29f2 100644 --- a/dlls/twain/capability.c +++ b/dlls/twain/capability.c @@ -16,6 +16,12 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#define NONAMELESSUNION +#define NONAMELESSSTRUCT + +#include + +#include "windef.h" #include "winbase.h" #include "twain.h" #include "twain_i.h" diff --git a/dlls/twain/ds_image.c b/dlls/twain/ds_image.c index f31d9db0738..01716164212 100644 --- a/dlls/twain/ds_image.c +++ b/dlls/twain/ds_image.c @@ -18,6 +18,9 @@ #include "config.h" +#include + +#include "windef.h" #include "winbase.h" #include "wingdi.h" #include "winuser.h" diff --git a/dlls/twain/dsm_ctrl.c b/dlls/twain/dsm_ctrl.c index 3c55ea5fb1a..648b53698fb 100644 --- a/dlls/twain/dsm_ctrl.c +++ b/dlls/twain/dsm_ctrl.c @@ -21,9 +21,11 @@ #include "config.h" #include +#include #define NONAMELESSUNION #define NONAMELESSSTRUCT +#include "windef.h" #include "winbase.h" #include "twain.h" #include "twain_i.h" diff --git a/dlls/twain/twain32_main.c b/dlls/twain/twain32_main.c index 56a5a329d62..e4cf857866a 100644 --- a/dlls/twain/twain32_main.c +++ b/dlls/twain/twain32_main.c @@ -18,6 +18,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include + #include "windef.h" #include "winbase.h" #include "twain.h" diff --git a/dlls/winaspi/aspi.c b/dlls/winaspi/aspi.c index f85d5c71ca7..ae3495f28a3 100644 --- a/dlls/winaspi/aspi.c +++ b/dlls/winaspi/aspi.c @@ -40,6 +40,7 @@ HKEY_DYN_DATA #include "config.h" #include +#include #include #ifdef HAVE_SYS_IOCTL_H #include @@ -52,11 +53,14 @@ HKEY_DYN_DATA #include #include -#include "wine/debug.h" +#include "windef.h" +#include "winbase.h" #include "winreg.h" #include "winerror.h" #include "winescsi.h" +#include "wine/debug.h" + WINE_DEFAULT_DEBUG_CHANNEL(aspi); /* Internal function prototypes */ diff --git a/tools/bin2res.c b/tools/bin2res.c index e018bc53355..d117fe12b19 100644 --- a/tools/bin2res.c +++ b/tools/bin2res.c @@ -34,6 +34,7 @@ #include #include +#include #include #ifdef HAVE_UNISTD_H diff --git a/tools/wrc/genres.c b/tools/wrc/genres.c index 23e724e9121..4df0bca3852 100644 --- a/tools/wrc/genres.c +++ b/tools/wrc/genres.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include