summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-10 15:21:30 (GMT)
committerGuido van Rossum <guido@python.org>1996-12-10 15:21:30 (GMT)
commite29ed8fa7c1d20c13511e37401a984ba78b62169 (patch)
tree08fab9f5280a3dc810b1eceaed58151d1fe702b7 /Modules
parentfb4130d1f1aed9e0eabba30b1b672f583cef3a78 (diff)
downloadcpython-e29ed8fa7c1d20c13511e37401a984ba78b62169.zip
cpython-e29ed8fa7c1d20c13511e37401a984ba78b62169.tar.gz
cpython-e29ed8fa7c1d20c13511e37401a984ba78b62169.tar.bz2
Make gcc -Wall happy; remove dummy variable (can't see where it's needed).
Diffstat (limited to 'Modules')
-rw-r--r--Modules/sunaudiodev.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/Modules/sunaudiodev.c b/Modules/sunaudiodev.c
index d8b04ff..43ccf48 100644
--- a/Modules/sunaudiodev.c
+++ b/Modules/sunaudiodev.c
@@ -39,6 +39,14 @@ PERFORMANCE OF THIS SOFTWARE.
#define SOLARIS
#endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
+#ifdef HAVE_FCNTL_H
+#include <fcntl.h>
+#endif
+
#include <stropts.h>
#include <sys/ioctl.h>
#ifdef SOLARIS
@@ -69,8 +77,6 @@ static sadstatusobject *sads_alloc(); /* Forward */
static object *SunAudioError;
-static int dummy_for_dl;
-
#define is_sadobject(v) ((v)->ob_type == &Sadtype)
#define is_sadstatusobject(v) ((v)->ob_type == &Sadstatustype)