summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2017-01-24 16:03:29 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2017-01-24 16:03:29 +0000
commit4856937ff10a8987fbb03b4e1d9db5a2f7e2d300 (patch)
tree45464805b1710ee58658c4917302587a7c636f03 /regress/lib
parent27c9b59a31faa6baf15f4881f8e2fc33e7a26643 (diff)
fix make clean and warnings
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>