#include <sys/ioctl.h>
#include <unistd.h>
#include <fcntl.h>
-#ifdef USEOSS
-#include <sys/soundcard.h>
-#endif
#include <unistd.h>
#include <pthread.h>
#define RRand(range) (random()%range)
#undef CALLBACK
#define CALLBACK
-#define DWORD unsigned long
+#define DWORD unsigned int
#define LOWORD(l) ((unsigned short)(l))
-#define HIWORD(l) ((unsigned short)(((unsigned long)(l) >> 16) & 0xFFFF))
+#define HIWORD(l) ((unsigned short)(((unsigned int)(l) >> 16) & 0xFFFF))
#ifndef INLINE
-#define INLINE inline
+#define INLINE static inline
#endif
#include "psemuxa.h"