33092bd54a
- make netpipe respect CC and CFLAGS - improve patch-aa a bit
24 lines
693 B
Plaintext
24 lines
693 B
Plaintext
--- netpipe.h.orig Wed Oct 28 09:42:43 1998
|
|
+++ netpipe.h Sat Jan 22 22:20:35 2000
|
|
@@ -19,6 +19,7 @@
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <sys/types.h>
|
|
+#include <sys/param.h>
|
|
#include <sys/time.h> /* struct timeval */
|
|
#include <stdlib.h> /* malloc(3) */
|
|
|
|
@@ -37,8 +38,12 @@
|
|
#define MAXINT 2147483647
|
|
|
|
#define ABS(x) (((x) < 0)?(-(x)):(x))
|
|
+#ifndef MIN
|
|
#define MIN(x,y) (((x) < (y))?(x):(y))
|
|
+#endif
|
|
+#ifndef MAX
|
|
#define MAX(x,y) (((x) > (y))?(x):(y))
|
|
+#endif
|
|
|
|
/* Need to include the protocol structure header file. */
|
|
/* Change this to reflect the protocol */
|