Darren Tucker
a6b4ec94e5
Add OPENBSD ORIGINAL marker.
2021-04-24 17:52:24 +10:00
Darren Tucker
80032102d0
ifdef out MIN and MAX.
...
In -portable, defines.h ensures that these are defined, so redefining
potentially causes a warning. We don't just delete it to make any
future code syncs a little but easier. bz#3293.
2021-04-08 13:25:57 +10:00
Darren Tucker
05c215de8d
Wrap stdint.h include in ifdef HAVE_STDINT_H.
2020-08-17 21:34:32 +10:00
Damien Miller
eaf2765efe
sync memmem.c with OpenBSD
2020-08-10 13:24:20 +10:00
Darren Tucker
45478898f9
Hook memmem compat code into build.
...
This fixes builds on platforms that don't have it (at least old DragonFly,
probably others).
2019-07-16 09:21:20 +10:00
Darren Tucker
c7bd461729
Import memmem.c from OpenBSD.
2019-07-16 09:07:18 +10:00