Skip to content

Commit

Permalink
Wrap stdint.h include in ifdef HAVE_STDINT_H.
Browse files Browse the repository at this point in the history
  • Loading branch information
daztucker committed Aug 17, 2020
1 parent eaf2765 commit 05c215d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openbsd-compat/memmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
#ifndef HAVE_MEMMEM

#include <string.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif

static char *
twobyte_memmem(const unsigned char *h, size_t k, const unsigned char *n)
Expand Down

0 comments on commit 05c215d

Please sign in to comment.