OSDN Git Service

Add missing #include's
authorStarg <starg@users.osdn.me>
Tue, 9 Jan 2018 00:34:04 +0000 (09:34 +0900)
committerStarg <starg@users.osdn.me>
Sun, 9 May 2021 02:56:29 +0000 (11:56 +0900)
portaudio/src/hostapi/dsound/pa_win_ds.c
portaudio/src/hostapi/dsound/pa_win_ds_dynlink.h
portaudio/src/hostapi/wdmks/pa_win_wdmks.c

index 2ccb4f8..9a5725a 100644 (file)
@@ -54,6 +54,7 @@
 #define _WIN32_WINNT 0x0400 /* required to get waitable timer APIs */
 #include <initguid.h> /* make sure ds guids get defined */
 #include <windows.h>
+#include <mmsystem.h>
 #include <objbase.h>
 
 
index 2cdf6f0..55ffdf9 100644 (file)
@@ -63,6 +63,8 @@
 #else
 #define DIRECTSOUND_VERSION 0x0300
 #endif
+#include <windows.h>
+#include <mmsystem.h>
 #include <dsound.h>
 
 #ifdef __cplusplus
index 161c264..9541982 100644 (file)
@@ -67,6 +67,7 @@ of a device for the duration of active stream using those devices
 #define WINVER 0x0501
 #endif
 
+#include <stdlib.h>
 #include <string.h> /* strlen() */
 #include <assert.h>
 #include <wchar.h>  /* iswspace() */
@@ -94,6 +95,7 @@ of a device for the duration of active stream using those devices
 #endif
 
 #include <windows.h>
+#include <mmsystem.h>
 #ifndef __GNUC__ /* Fix for ticket #257: MinGW-w64: Inclusion of <winioctl.h> triggers multiple redefinition errors. */
 #include <winioctl.h>
 #endif