This commit is contained in:
ajacoutot 2008-11-27 12:44:54 +00:00
parent 5fed0fbfca
commit 62d03977aa

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-lib_memmem_c,v 1.1.1.1 2008/05/12 15:08:19 ajacoutot Exp $
--- lib/memmem.c.orig Mon May 12 12:06:41 2008
+++ lib/memmem.c Mon May 12 12:07:32 2008
@@ -31,8 +31,10 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
-#ifndef __sun
+#if !defined(__sun) && !defined(__OpenBSD__)
#include "bbs.h"
+#endif
+#ifndef __sun
#include <sys/cdefs.h>
#endif