X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fnas.c;h=a0a5ddb369cda34c990d47985c16916e97523a3b;hb=c9a88265cd5f978b60830d4ef5e6f8b2246c3072;hp=0c7f4287b9307570a76225eab4bdfef361db1594;hpb=b267e52aa03bee2c488c8a78824d96cf2d9a6ccc;p=chise%2Fxemacs-chise.git.1 diff --git a/src/nas.c b/src/nas.c index 0c7f428..a0a5ddb 100644 --- a/src/nas.c +++ b/src/nas.c @@ -50,34 +50,54 @@ * 4/11/94, rjc Added wait_for_sounds to be called when user wants to * be sure all play has finished. * 1998-10-01 rlt Added support for WAVE files. + * 2002-10-16 Jon Trulson modifed this to work with NAS releases + * 1.5f and higher. We were using the private variable + * SoundFileInfo that doesn't exist anymore. But preserve + * backward compatibility. This will not work for some + * versions of NAS around 1.5b to 1.5f or so. Known to + * work on 1.2p5 and 1.6. */ #ifdef emacs #include #include "lisp.h" +#include "sysdep.h" +#include "syssignal.h" #endif -#if __STDC__ || defined (STDC_HEADERS) -# include -# include -# include -#endif +#include +#include +#include +#include #ifdef HAVE_UNISTD_H #include #endif -#include -#include "syssignal.h" +/* NAS <= 1.2p5 defines {BIG,LITTLE}_ENDIAN in