]> granicus.if.org Git - python/commitdiff
Make gcc -Wall happy; remove dummy variable (can't see where it's needed).
authorGuido van Rossum <guido@python.org>
Tue, 10 Dec 1996 15:21:30 +0000 (15:21 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 10 Dec 1996 15:21:30 +0000 (15:21 +0000)
Modules/sunaudiodev.c

index d8b04ffe0c0e8c6f4380f4f7990aeffbed7f6c54..43ccf4872b3015f6fd64d40fa9dce9e4f749bf4d 100644 (file)
@@ -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)