twain: Make structures respect 2 byte packing requirements.
diff --git a/dlls/twain/twain.h b/dlls/twain/twain.h
index de29252..b8d2878 100644
--- a/dlls/twain/twain.h
+++ b/dlls/twain/twain.h
@@ -57,6 +57,9 @@
#include "windef.h"
#include "winbase.h"
+/* The Twain structures must be packed on 2 byte alignment */
+#include "pshpack2.h"
+
#undef FAR
#define FAR
#define huge
@@ -1861,4 +1864,7 @@
}
#endif /* cplusplus */
+/* The Twain structures must be packed on 2 byte alignment */
+#include "poppack.h"
+
#endif /* TWAIN */