Mercurial > hg > xemacs-beta
diff src/libsst.c @ 412:697ef44129c6 r21-2-14
Import from CVS: tag r21-2-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:20:41 +0200 |
parents | 74fd4e045ea6 |
children |
line wrap: on
line diff
--- a/src/libsst.c Mon Aug 13 11:19:22 2007 +0200 +++ b/src/libsst.c Mon Aug 13 11:20:41 2007 +0200 @@ -20,25 +20,29 @@ #include "lisp.h" #endif +#ifdef STDC_HEADERS #include <stdlib.h> -#include <stdio.h> -#include <fcntl.h> +#endif #ifdef HAVE_UNISTD_H #include <unistd.h> #endif +#include <stdio.h> +#include <fcntl.h> #include "libsst.h" #define AUDBUF 1024 +extern void usleep(); + int sst_open(play_level, record_level) int play_level, record_level; { int fd, i, gr, ger, gx; struct audio_ioctl ai; - char *ep; + char *getenv(), *ep; fd = open( "/dev/audio", O_RDWR ); if ( fd < 0 )