From 8b1e85eca7f06a392dbd8ae9b560599523c8de07 Mon Sep 17 00:00:00 2001 From: denis <> Date: Mon, 30 Apr 2018 07:44:56 +0000 Subject: 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 167d609c39..079d69d257 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) { -- cgit v1.2.3-55-g6feb