#include "SDL.h"
#include "SDL_mixer.h"
#include <assert.h>
+#include <string.h>
#define TAG_MIX1 0x4d495831
snd_t *S_get (int id) {
void *handle;
sdlmixer_snd *snd = NULL;
- if (devinit != NULL) {
+ if (devinit) {
handle = M_lock(id);
if (handle != NULL) {
void *data = handle;