openbsd-ports/mbone/rat/patches/patch-src_ui_c
wilfried 106f413f49 * respect CC/CFLAGS
* split patches into separate files
2001-03-17 17:21:41 +00:00

24 lines
560 B
Plaintext

$OpenBSD: patch-src_ui_c,v 1.1 2001/03/17 17:23:29 wilfried Exp $
--- src/ui.c.orig Mon Mar 1 18:23:55 1999
+++ src/ui.c Fri Mar 16 20:49:24 2001
@@ -42,6 +42,10 @@
#include <ctype.h> /* for toupper() [csp] */
#include <math.h>
+#if defined(__OpenBSD__)
+#include <sys/types.h>
+#include <sys/audioio.h>
+#endif
#include "version.h"
#include "bat_include.h"
#include "crypt.h"
@@ -203,7 +207,7 @@ ui_info_deactivate(rtcp_dbentry *e)
eval_check(interp, comm);
}
-static us_active = 0;
+static int us_active = 0;
void
ui_info_activate_us(void)