summaryrefslogtreecommitdiffstats
path: root/cpukit/librpc/src
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-11-21 08:49:57 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-11-21 08:52:29 +0100
commit11925eef789566a226d8eaacbceb4d89df787ebc (patch)
treed9012073fa76528fd205eed96cc016d566f7c89d /cpukit/librpc/src
parentsmpschedaffinity05: Change semaphore attributes. (diff)
downloadrtems-11925eef789566a226d8eaacbceb4d89df787ebc.tar.bz2
Delete or rename MIN/MAX macros and defines
Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
Diffstat (limited to 'cpukit/librpc/src')
-rw-r--r--cpukit/librpc/src/rpc/svc_udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/librpc/src/rpc/svc_udp.c b/cpukit/librpc/src/rpc/svc_udp.c
index 8b7e1677f2..bb99f4a350 100644
--- a/cpukit/librpc/src/rpc/svc_udp.c
+++ b/cpukit/librpc/src/rpc/svc_udp.c
@@ -45,6 +45,7 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/svc_udp.c,v 1.13 2000/01/27 23:
#include "config.h"
#endif
+#include <sys/param.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@@ -54,7 +55,6 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/svc_udp.c,v 1.13 2000/01/27 23:
#include <errno.h>
#define rpc_buffer(xprt) ((xprt)->xp_p1)
-#define MAX(a, b) ((a > b) ? a : b)
static bool_t svcudp_recv(SVCXPRT *xprt, struct rpc_msg *msg);
static bool_t svcudp_reply(SVCXPRT *xprt, struct rpc_msg *msg);