From 1f1f66fc0bf276baa9896b96ba31d814b509e3cc Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 21 Aug 2013 22:44:49 +0200 Subject: OpenBSD suffers from the same httpd race condition as the other BSDs --- src/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http.c b/src/http.c index 13b11eb..71161cd 100644 --- a/src/http.c +++ b/src/http.c @@ -89,7 +89,7 @@ get_port (void) return -1; } -#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__) +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__OpenBSD__) /* XXX This exposes a potential race condition, but without this, * httpd will not start on the above listed platforms due to the fact * that SO_REUSEADDR is also needed when Apache binds to the listening -- cgit v1.2.1