Browse Source

Add a missing header when compiling with -DDEBUG

With advice from jca@
OK jca@ millert@
OPENBSD_6_4
denis 6 years ago
parent
commit
f814382efe
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      src/lib/libc/string/strstr.c

+ 5
- 1
src/lib/libc/string/strstr.c View File

@ -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)
{


Loading…
Cancel
Save