[comp.lang.perl] Perl vs Xenix 2.3.2 w/ TCP/IP

nelson@sun.soe.clarkson.edu (Russ Nelson) (11/29/90)

Who will be the big winner?  Perl?   or Xenix 2.3.2 with TCP/IP?

Anyway, I had to improve some of the /usr/include/sys files because
I had trouble compiling perl.  I figured that perl was doing it
right, and Xenix was botching it (again).  So, two changes
(sorry they're not in patch format, I don't have an editor on my
Xenix system, I just have vi.  I use GNU Emacs's contributed ange-ftp
to edit files remotely.  A must-have add-on).

>>>Added this to /usr/include/sys/select.h, because it was redefining
>>>time.

/* oh sigh.  If they've included sys/time.h, don't redefine it. */
#ifndef timerisset
/*
 * Structure used to specify timeout in select(2) system call.
 */
struct timeval {
	long	tv_sec;		/* seconds */
	long	tv_usec;	/* and microseconds */
};
#endif

>>>Added the following to /usr/include/netinet/in.h, because it didn't know
>>>what a u_long was...

#ifndef in_h
#define in_h

#include <sys/types.tcp.h>

#define IPM_ID		200	/* Module ID for IP stream */

--
--russ (nelson@clutx [.bitnet | .clarkson.edu])  FAX 315-268-7600
It's better to get mugged than to live a life of fear -- Freeman Dyson
I joined the League for Programming Freedom, and I hope you'll join too.