$OpenBSD: patch-src_core_main_c,v 1.2 2012/07/08 15:48:59 jasper Exp $

From e4ae7d7b1bbf1cd39b73b97db2391cf3c09a11fd Mon Sep 17 00:00:00 2001
From: Jasper Lievisse Adriaanse <jasper@humppa.nl>
Date: Sun, 08 Jul 2012 15:47:24 +0000
Subject: *BSD build fix: Include sys/wait.h as described in POSIX specs

--- src/core/main.c.orig	Wed Apr 27 10:16:57 2011
+++ src/core/main.c	Wed Apr 27 10:17:39 2011
@@ -59,7 +59,7 @@
 
 #include <stdlib.h>
 #include <sys/types.h>
-#include <wait.h>
+#include <sys/wait.h>
 #include <stdio.h>
 #include <string.h>
 #include <signal.h>
