summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/string/strstr.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/string/strstr.c b/lib/libc/string/strstr.c
index 167d609c399..079d69d257f 100644
--- a/lib/libc/string/strstr.c
+++ b/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 <stdlib.h>
#include <stdint.h>
+#ifdef DEBUG
+#include <stdio.h>
+#endif
+
static char *
twobyte_strstr(const unsigned char *h, const unsigned char *n)
{