diff --git a/reactos/lib/drivers/sound/legacy/devname.c b/reactos/lib/drivers/sound/legacy/devname.c index d8ec89941dc..c62497de034 100644 --- a/reactos/lib/drivers/sound/legacy/devname.c +++ b/reactos/lib/drivers/sound/legacy/devname.c @@ -12,6 +12,7 @@ #include #include #include +#include #include @@ -168,7 +169,7 @@ GetDefaultSoundDeviceNameBodies( OUT PCWSTR* DeviceNameBody, OUT PCWSTR* DosDeviceNameBody) { - if ( ! VALID_SOUND_DEVICE_TYPE(DeviceType) ) + if ( ! IS_VALID_SOUND_DEVICE_TYPE(DeviceType) ) { DPRINT("Invalid device type"); return STATUS_INVALID_PARAMETER;