-#ifdef __CYGWIN32__
-extern BOOL WINAPI PlaySound(LPCSTR,HMODULE,DWORD);
-#else
-#include <mmsystem.h>
-#endif
-static void play_sound_data_1 (unsigned char *data, int length,
+#include "sysfile.h"
+#include "nt.h"
+#include "nativesound.h"
+
+static int play_sound_data_1 (unsigned char *data, int length,