Make sure we include config.h before including twain_i.h.

Fixes an activeDS.deviceHandle corruption bug.
This commit is contained in:
Francois Gouget 2004-09-13 18:06:46 +00:00 committed by Alexandre Julliard
parent 2d8d1e2f74
commit 10adf6b865
5 changed files with 11 additions and 2 deletions

View File

@ -19,6 +19,8 @@
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "config.h"
#include <stdarg.h>
#include "windef.h"

View File

@ -17,7 +17,7 @@
*/
#include "twain.h"
#include "twain_i.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(twain);
@ -48,4 +48,3 @@ TW_UINT16 TWAIN_AudioNativeXferGet (pTW_IDENTITY pOrigin, pTW_IDENTITY pDest,
return TWRC_FAILURE;
}

View File

@ -18,6 +18,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include <stdarg.h>
#include "windef.h"

View File

@ -18,6 +18,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include <stdarg.h>
#include "windef.h"

View File

@ -19,6 +19,10 @@
#ifndef _TWAIN32_H
#define _TWAIN32_H
#ifndef __WINE_CONFIG_H
# error You must include config.h first
#endif
#ifdef HAVE_SANE
# include <sane/sane.h>
#endif