X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fsound.h;h=089c44fbcb9c2ef620c59fd4b9c4cc30c5861c3f;hb=4dcd7afc3645fa20c7868263eb09764e68240acd;hp=be853f8c2723e356a8b56ab39235d97206b01c3e;hpb=d0893e6987c21c25ec137438a18cfe1288362139;p=rocksndiamonds.git diff --git a/src/sound.h b/src/sound.h index be853f8c..089c44fb 100644 --- a/src/sound.h +++ b/src/sound.h @@ -10,8 +10,6 @@ * q99492@pbhrzx.uni-paderborn.de * *----------------------------------------------------------* * sound.c * -* * -* Letzte Aenderung: 15.06.1995 * ***********************************************************/ #ifndef SOUND_H @@ -29,6 +27,10 @@ extern void ioctl(long, long, void *); #endif +#ifdef __FreeBSD__ +#include +#endif + #define SND_BLOCKSIZE 4096 #ifdef _HPUX_SOURCE @@ -108,8 +110,9 @@ struct SoundHeader_8SVX struct SoundInfo { - char *name; - char *file_ptr, *data_ptr; + unsigned char *name; + unsigned char *file_ptr; + char *data_ptr; long file_len, data_len; }; @@ -129,9 +132,6 @@ struct SoundControl char *data_ptr; }; -/* function from "misc.c" */ -unsigned long be2long(unsigned long *); - /* sound server functions */ void SoundServer(void); void SoundServer_InsertNewSound(struct SoundControl);