aboutsummaryrefslogtreecommitdiff
path: root/mbone/relate/files/patch-main.c
blob: 40737a3b36d25f01b4b7c36155f6526f9d7972c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- main.c.orig	Wed Mar  1 21:56:27 2000
+++ main.c	Tue May 15 14:44:34 2001
@@ -20,7 +20,7 @@
 
 #include <tcl.h>
 #include <tk.h>
-#include <malloc.h>
+#include <stdlib.h>
 #include <locale.h>
 #include <assert.h>
 #include <time.h>
@@ -145,7 +145,7 @@
 	char buffer[128];  
 	FILE *file; 
 	int v1, v2, v3;
-	if ( ( file=popen( "rat -version", "rt") )!=NULL ) {
+	if ( ( file=popen( "rat30 -version", "rt") )!=NULL ) {
 		fgets(buffer, sizeof(buffer), file);
 		pclose(file);
 		/* get version */