From e0f858edd0f8e54a436cffeb8114f575fdbafd09 Mon Sep 17 00:00:00 2001 From: Jorge Arellano Cid Date: Mon, 2 Nov 2009 12:10:58 -0300 Subject: define IPPORT_USERRESERVED when the system doesn't provide it (FreeBSD) --- dpid/dpid.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dpid/dpid.h b/dpid/dpid.h index 7302356b..0cf89406 100644 --- a/dpid/dpid.h +++ b/dpid/dpid.h @@ -13,6 +13,10 @@ #include "d_size.h" +/* FreeBSD 6.4 doesn't have it */ +#ifndef IPPORT_USERRESERVED + #define IPPORT_USERRESERVED 5000 +#endif #define PATH_LEN 50 #define CMDLEN 20 -- cgit v1.2.3