--- ./xgui/makefile.org	Wed Jun  7 14:52:46 1995
+++ ./xgui/makefile	Fri Jun  9 22:22:08 1995
@@ -15,7 +15,7 @@
 
 # The following line may need to be altered if the Tcl include
 # files, or the X11 include files are located elsewhere on your system:
-INCLUDES=-I. -I/usr/local/include -I/usr/include/X11
+INCLUDES=-I. -I${LOCALBASE}/include/tcl8.0 -I${X11BASE}/include
 
 # Uncomment this line if running Solaris:
 #MACHINESPEC=-DSOLARIS
--- ./makefile.org	Wed Jun  7 14:52:48 1995
+++ ./makefile	Fri Jun  9 22:40:39 1995
@@ -15,7 +15,7 @@
 
 # The following line may need to be altered if the Tcl include
 # files are located elsewhere on your system:
-INCLUDES=-I. -I/usr/local/include
+INCLUDES=-I. -I${LOCALBASE}/include/tcl8.0
 
 OPTIONS=-O2
 CFLAGS=$(INCLUDES) $(OPTIONS)
@@ -41,7 +41,8 @@
 all : libgui e93
 
 e93 : $(OBJECTS) xgui/libgui.a
-	$(CC) -O $(OBJECTS) -Lxgui/ -lgui -lX11 -ltcl -lm -o e93
+	$(CC) -O $(OBJECTS) -Lxgui/ -lgui -L${X11BASE}/lib -lX11 \
+	  -L${LOCALBASE}/lib -ltcl80 -lm -o e93
 
 libgui :
 	cd xgui;make
--- ./errors.c.org	Wed Jun  7 14:52:48 1995
+++ ./errors.c	Fri Jun  9 22:35:37 1995
@@ -19,8 +19,10 @@
 
 extern int
 	errno;
+#ifndef __FreeBSD__
 extern char
 	*sys_errlist[];
+#endif
 
 #define	MAXERRORFAMILY	32						/* maximum number of characters in error family and member names */
 #define	MAXERRORDESCRIPTION	256					/* maximum number of characters in error description */
