Skip to content

Commit 98b64c6

Browse files
committed
inc: win/commdlg.bi: Add #includes to make it work without WIN_INCLUDEALL
http://www.freebasic.net/forum/viewtopic.php?f=3&t=23488 (cherry picked from commit 38e37de)
1 parent 8f527ef commit 98b64c6

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

changelog.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Version 1.02.1
1212
- 1.02.0 regression: OpenGL binding: glGetString() and some others use ZString Ptr instead of GLubyte Ptr again
1313
- 1.02.0 regression: Windows API binding: REFIID and some other REF* types were missing; wsprintf/wvsprintf declarations were missing; ole2.bi couldn't be included directly/alone anymore.
1414
- bindings: Various previously untranslated (or wrongly translated) #defines in SDL2, X11, crt/pthread, Windows API
15-
- Windows API binding: DirectX headers missed some declarations and some didn't compile
15+
- Windows API binding: DirectX headers missed some declarations and some didn't compile, win/commdlg.bi couldn't be #included behind windows.bi without WIN_INCLUDEALL because of missing #includes
1616
- crt/string.bi, crt/mem.bi: Added CONSTs to function declarations
1717
- #767: Illegal byref result assignments will now cause a proper error message, not just a warning
1818
- Using the -asm att|intel option for non-x86[_64] targets now triggers an error

inc/win/commdlg.bi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
#include once "winapifamily.bi"
88
#include once "_mingw_unicode.bi"
99
#include once "prsht.bi"
10+
#include once "rpc.bi"
11+
#include once "rpcndr.bi"
12+
#include once "wtypesbase.bi"
13+
#include once "unknwnbase.bi"
14+
#include once "objidlbase.bi"
1015

1116
extern "Windows"
1217

0 commit comments

Comments
 (0)