$OpenBSD$
--- bin/varnishd/mgt_pool.c.orig	Wed May  5 03:32:03 2010
+++ bin/varnishd/mgt_pool.c	Sun Jun 27 14:10:25 2010
@@ -80,7 +80,11 @@ tweak_stack_size(struct cli *cli, const struct parspec
 	unsigned low, u;
 	char buf[12];
 
+#if defined (__OpenBSD__)
+	low = PTHREAD_STACK_MIN;
+#else
 	low = sysconf(_SC_THREAD_STACK_MIN);
+#endif
 
 	if (arg != NULL && !strcmp(arg, "32")) {
 		u = 65536;
