From f814382efe78afba6e1f8865f7e1a44ed6a5b1e6 Mon Sep 17 00:00:00 2001 From: denis <> Date: Mon, 30 Apr 2018 07:44:56 +0000 Subject: [PATCH] Add a missing header when compiling with -DDEBUG With advice from jca@ OK jca@ millert@ --- src/lib/libc/string/strstr.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/libc/string/strstr.c b/src/lib/libc/string/strstr.c index 167d609c..079d69d2 100644 --- a/src/lib/libc/string/strstr.c +++ b/src/lib/libc/string/strstr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strstr.c,v 1.7 2017/04/12 16:06:12 millert Exp $ */ +/* $OpenBSD: strstr.c,v 1.8 2018/04/30 07:44:56 denis Exp $ */ /* * Copyright (c) 2005-2014 Rich Felker @@ -27,6 +27,10 @@ #include #include +#ifdef DEBUG +#include +#endif + static char * twobyte_strstr(const unsigned char *h, const unsigned char *n) {