--- main.c.orig	Sat Aug 21 15:26:37 1999
+++ main.c	Tue Oct 26 23:47:37 1999
@@ -22,7 +22,13 @@
 
 #include <stdio.h>
 #include <stdlib.h>		/* free() */
+#if HAVE_GETOPT_H
 #include <getopt.h>
+#else
+extern  int     getopt();
+extern  char    *optarg;
+extern  int     optind;
+#endif
 #include <limits.h>
 #include "gui.h"
 #include "mixer.h"
