$NetBSD: patch-ab,v 1.1 2007/02/19 08:38:48 joerg Exp $

--- src/memmem.h.orig	2007-02-16 15:14:24.000000000 +0000
+++ src/memmem.h
@@ -23,6 +23,8 @@
 #ifndef	_MEMMEM_H
 #define	_MEMMEM_H	1
 
+#include <stdlib.h>
+
 #if defined(__cplusplus)
 extern "C" {
 #endif
