OSDN Git Service

cmutils: include shellapi.h on Win32 (for CommandLineToArgvW).
authorRonald S. Bultje <rsbultje@gmail.com>
Sat, 7 Jul 2012 20:46:26 +0000 (13:46 -0700)
committerRonald S. Bultje <rsbultje@gmail.com>
Sat, 7 Jul 2012 21:09:04 +0000 (14:09 -0700)
commit66a297975d19e0d9b8a5ff8a723dcd2116a506ce
treefac2e245dcde28fad75b8d03a63fc559f8b3d07e
parent07b287020c9ada750251344c05b52f541be4d533
cmutils: include shellapi.h on Win32 (for CommandLineToArgvW).

This is required for CommandLineToArgvW. Normally, shellapi.h is included
implicitly by windows.h, but if we define WIN32_LEAN_AND_MEAN (or some of
the other earlier headers have included windows.h with that option),
windows.h doesn't include this one.

Thus explicitly include the headers we really need, for clarity and
compatibility.
cmdutils.c