2000-08-24 20:11:42 -04:00
|
|
|
--- netpipe.h.orig Thu Aug 24 19:59:51 2000
|
|
|
|
+++ netpipe.h Thu Aug 24 20:00:40 2000
|
|
|
|
@@ -20,6 +20,7 @@
|
|
|
|
#include <stdlib.h> /* malloc(3) */
|
2000-01-22 22:29:56 -05:00
|
|
|
#include <string.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
+#include <sys/param.h>
|
|
|
|
#include <sys/time.h> /* struct timeval */
|
2000-08-24 20:11:42 -04:00
|
|
|
#ifdef HAVE_GETRUSAGE
|
|
|
|
#include <sys/resource.h>
|
|
|
|
@@ -38,8 +39,12 @@
|
1999-03-19 00:22:31 -05:00
|
|
|
#define MAXINT 2147483647
|
|
|
|
|
|
|
|
#define ABS(x) (((x) < 0)?(-(x)):(x))
|
2000-01-22 22:29:56 -05:00
|
|
|
+#ifndef MIN
|
1999-03-19 00:22:31 -05:00
|
|
|
#define MIN(x,y) (((x) < (y))?(x):(y))
|
2000-01-22 22:29:56 -05:00
|
|
|
+#endif
|
|
|
|
+#ifndef MAX
|
1999-03-19 00:22:31 -05:00
|
|
|
#define MAX(x,y) (((x) > (y))?(x):(y))
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
/* Need to include the protocol structure header file. */
|
|
|
|
/* Change this to reflect the protocol */
|