summaryrefslogtreecommitdiff
path: root/dpid
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2009-11-02 12:10:58 -0300
committerJorge Arellano Cid <jcid@dillo.org>2009-11-02 12:10:58 -0300
commite0f858edd0f8e54a436cffeb8114f575fdbafd09 (patch)
tree4d106b3a9995f9edc37c2730185f02c626afa8b3 /dpid
parent6b59a5424f66b4b494459b8fad67b9bb576296de (diff)
define IPPORT_USERRESERVED when the system doesn't provide it (FreeBSD)
Diffstat (limited to 'dpid')
-rw-r--r--dpid/dpid.h4
1 files changed, 4 insertions, 0 deletions
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