[comp.os.minix] tsort, the saga continues

dprrhb@inetg1.ARCO.COM (Reginald H. Beardsley) (06/17/91)

Philip Homburg's tsort seems to work quite nicely.  As was noted there is 
a problem compiling it under Minix. (Works just fine on Sun4 as is).  The
type prtdiff_t is undefined.  On the Sun4 it is defined in:

 /usr/include/sys/stdtypes.h 

with:

typedef int ptrdiff_t;

I fixed it by adding the typdef to tsort.c.

-- 
Reginald H. Beardsley       
ARCO Information Services
Plano, TX 75075           
Phone: (214)-754-6785
Internet: dprrhb@arco.com