diff options
author | denis <> | 2018-04-30 07:44:56 +0000 |
---|---|---|
committer | denis <> | 2018-04-30 07:44:56 +0000 |
commit | 8b1e85eca7f06a392dbd8ae9b560599523c8de07 (patch) | |
tree | 35922cb8d6aa2d902a5045d1b5f3a6ae1eb5fe5e | |
parent | a60c20fc32aa2f822c683424f5bd90611e4d452f (diff) | |
download | openbsd-8b1e85eca7f06a392dbd8ae9b560599523c8de07.tar.gz openbsd-8b1e85eca7f06a392dbd8ae9b560599523c8de07.tar.bz2 openbsd-8b1e85eca7f06a392dbd8ae9b560599523c8de07.zip |
Add a missing header when compiling with -DDEBUG
With advice from jca@
OK jca@ millert@
-rw-r--r-- | src/lib/libc/string/strstr.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 @@ | |||
1 | /* $OpenBSD: strstr.c,v 1.7 2017/04/12 16:06:12 millert Exp $ */ | 1 | /* $OpenBSD: strstr.c,v 1.8 2018/04/30 07:44:56 denis Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2005-2014 Rich Felker | 4 | * Copyright (c) 2005-2014 Rich Felker |
@@ -27,6 +27,10 @@ | |||
27 | #include <stdlib.h> | 27 | #include <stdlib.h> |
28 | #include <stdint.h> | 28 | #include <stdint.h> |
29 | 29 | ||
30 | #ifdef DEBUG | ||
31 | #include <stdio.h> | ||
32 | #endif | ||
33 | |||
30 | static char * | 34 | static char * |
31 | twobyte_strstr(const unsigned char *h, const unsigned char *n) | 35 | twobyte_strstr(const unsigned char *h, const unsigned char *n) |
32 | { | 36 | { |