summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
Diffstat (limited to 'regress/lib')
-rw-r--r--regress/lib/libc/malloc/malloc_general/Makefile3
-rw-r--r--regress/lib/libc/malloc/malloc_general/malloc_general.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/regress/lib/libc/malloc/malloc_general/Makefile b/regress/lib/libc/malloc/malloc_general/Makefile
index ad6b6dcfbe3..a0ee823bbe8 100644
--- a/regress/lib/libc/malloc/malloc_general/Makefile
+++ b/regress/lib/libc/malloc/malloc_general/Makefile
@@ -1,6 +1,7 @@
-# $OpenBSD: Makefile,v 1.2 2017/01/24 15:32:20 otto Exp $
+# $OpenBSD: Makefile,v 1.3 2017/01/24 16:03:28 otto Exp $
REGRESS_TARGETS= t1 t2 t3 t4 t5 t6 t7
+PROG= malloc_general
.include <bsd.regress.mk>
diff --git a/regress/lib/libc/malloc/malloc_general/malloc_general.c b/regress/lib/libc/malloc/malloc_general/malloc_general.c
index 3458b64c2a7..51bfb03a341 100644
--- a/regress/lib/libc/malloc/malloc_general/malloc_general.c
+++ b/regress/lib/libc/malloc/malloc_general/malloc_general.c
@@ -15,6 +15,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <err.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>