Updates for THINK C 6.0.  Moved the necessary UNIX emulation routines here.
diff --git a/Mac/Include/config.h b/Mac/Include/config.h
index 2a79025..c92f1a6 100644
--- a/Mac/Include/config.h
+++ b/Mac/Include/config.h
@@ -1,10 +1,8 @@
-/* config.h.in.  Generated automatically from configure.in by autoheader.  */
+/* config.h for Macintosh THINK C 6.0.  */
 
-/* Define if on Macintosh, compiling with any C compiler. */
+/* Define if on Macintosh (THINK C or MPW */
 #define macintosh
 
-#define HAVE_STDARG_PROTOTYPES 1
-
 /* Define if on AIX 3.
    System headers sometimes define this.
    We just want to avoid a redefinition error message.  */
@@ -12,6 +10,9 @@
 #undef _ALL_SOURCE
 #endif
 
+/* Define if type char is unsigned and you are not using gcc.  */
+#undef __CHAR_UNSIGNED__
+
 /* Define to empty if the keyword does not work.  */
 #undef const
 
@@ -85,25 +86,69 @@
    (as it does on SGI IRIX 4.x) */
 #undef BAD_EXEC_PROTOTYPES
 
+/* Define if your compiler botches static forward declarations
+   (as it does on SCI ODT 3.0) */
+#undef BAD_STATIC_FORWARD
+
+/* Define to `long' if <time.h> doesn't define.  */
+#undef clock_t
+
 /* Define if getpgrp() must be called as getpgrp(0)
    and (consequently) setpgrp() as setpgrp(0, 0). */
-#undef GETPGRP_HAVE_ARGS
+#undef GETPGRP_HAVE_ARG
+
+/* Define this if your time.h defines altzone */
+#undef HAVE_ALTZONE
 
 /* Define if your compiler supports function prototypes */
 #define HAVE_PROTOTYPES
 
+/* Define if your compiler supports variable length function prototypes
+   (e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h> */
+#define HAVE_STDARG_PROTOTYPES
+
+/* Define if you have POSIX threads */
+#undef _POSIX_THREADS
+
+/* Define to empty if the keyword does not work.  */
+#undef signed
+
 /* Define if  you can safely include both <sys/select.h> and <sys/time.h>
    (which you can't on SCO ODT 3.0). */
 #undef SYS_SELECT_WITH_SYS_TIME
 
+/* Define if you want to use SGI (IRIX 4) dynamic linking.
+   This requires the "dl" library by Jack Jansen,
+   ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z.
+   Don't bother on IRIX 5, it already has dynamic linking using SunOS
+   style shared libraries */ 
+#undef WITH_SGI_DL
+
+/* Define if you want to emulate SGI (IRIX 4) dynamic linking.
+   This is rumoured to work on VAX (Ultrix), Sun3 (SunOS 3.4),
+   Sequent Symmetry (Dynix), and Atari ST.
+   This requires the "dl-dld" library,
+   ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z,
+   as well as the "GNU dld" library,
+   ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z.
+   Don't bother on SunOS 4 or 5, they already have dynamic linking using
+   shared libraries */ 
+#undef WITH_DL_DLD
+
 /* Define if you want to compile in rudimentary thread support */
 #undef WITH_THREAD
 
 /* Define if you want to use the GNU readline library */
 #undef WITH_READLINE
 
+/* Define if you have chown.  */
+#undef HAVE_CHOWN
+
 /* Define if you have clock.  */
-#define HAVE_CLOCK 1
+#define HAVE_CLOCK
+
+/* Define if you have dlopen.  */
+#undef HAVE_DLOPEN
 
 /* Define if you have ftime.  */
 #undef HAVE_FTIME
@@ -114,17 +159,23 @@
 /* Define if you have getpgrp.  */
 #undef HAVE_GETPGRP
 
+/* Define if you have getpid.  */
+#undef HAVE_GETPID
+
 /* Define if you have gettimeofday.  */
 #undef HAVE_GETTIMEOFDAY
 
 /* Define if you have getwd.  */
 #define HAVE_GETWD 1
 
+/* Define if you have link.  */
+#undef HAVE_LINK
+
 /* Define if you have lstat.  */
 #undef HAVE_LSTAT
 
-/* Define if you have readline.  */
-#undef HAVE_READLINE
+/* Define if you have nice.  */
+#undef HAVE_NICE
 
 /* Define if you have readlink.  */
 #undef HAVE_READLINK
@@ -132,6 +183,9 @@
 /* Define if you have select.  */
 #undef HAVE_SELECT
 
+/* Define if you have setgid.  */
+#undef HAVE_SETGID
+
 /* Define if you have setpgid.  */
 #undef HAVE_SETPGID
 
@@ -141,8 +195,11 @@
 /* Define if you have setsid.  */
 #undef HAVE_SETSID
 
+/* Define if you have setuid.  */
+#undef HAVE_SETUID
+
 /* Define if you have setvbuf.  */
-#define HAVE_SETVBUF 1
+#define HAVE_SETVBUF
 
 /* Define if you have siginterrupt.  */
 #undef HAVE_SIGINTERRUPT
@@ -168,14 +225,17 @@
 /* Define if you have the <dlfcn.h> header file.  */
 #undef HAVE_DLFCN_H
 
+/* Define if you have the <fcntl.h> header file.  */
+#undef HAVE_FCNTL_H
+
 /* Define if you have the <signal.h> header file.  */
-#define HAVE_SIGNAL_H 1
+#define HAVE_SIGNAL_H
 
 /* Define if you have the <stdarg.h> header file.  */
-#define HAVE_STDARG_H 1
+#define HAVE_STDARG_H
 
 /* Define if you have the <stdlib.h> header file.  */
-#define HAVE_STDLIB_H 1
+#define HAVE_STDLIB_H
 
 /* Define if you have the <sys/audioio.h> header file.  */
 #undef HAVE_SYS_AUDIOIO_H
@@ -186,6 +246,9 @@
 /* Define if you have the <sys/select.h> header file.  */
 #undef HAVE_SYS_SELECT_H
 
+/* Define if you have the <sys/time.h> header file.  */
+#undef HAVE_SYS_TIME_H
+
 /* Define if you have the <sys/times.h> header file.  */
 #undef HAVE_SYS_TIMES_H
 
@@ -207,12 +270,18 @@
 /* Define if you have the dl library (-ldl).  */
 #undef HAVE_LIBDL
 
+/* Define if you have the inet library (-linet).  */
+#undef HAVE_LIBINET
+
 /* Define if you have the mpc library (-lmpc).  */
 #undef HAVE_LIBMPC
 
 /* Define if you have the nsl library (-lnsl).  */
 #undef HAVE_LIBNSL
 
+/* Define if you have the pthreads library (-lpthreads).  */
+#undef HAVE_LIBPTHREADS
+
 /* Define if you have the seq library (-lseq).  */
 #undef HAVE_LIBSEQ
 
@@ -222,5 +291,11 @@
 /* Define if you have the sun library (-lsun).  */
 #undef HAVE_LIBSUN
 
+/* Define if you have the termcap library (-ltermcap).  */
+#undef HAVE_LIBTERMCAP
+
+/* Define if you have the termlib library (-ltermlib).  */
+#undef HAVE_LIBTERMLIB
+
 /* Define if you have the thread library (-lthread).  */
 #undef HAVE_LIBTHREAD