plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit de3b6d5848d5361490ed049154985d01dd5068f9
parent a82a8b6368274d77d42f526e379b74e79c137e26
Author: David du Colombier <0intro@gmail.com>
Date:   Sat, 29 Sep 2018 15:59:31 +0200

libregexp: include stddef.h in lib9.std.h

Commit 2d82ef9d98 added ptrdiff_t in regcomp.c.
However, this change broke the build of the Unix
package because ptrdiff_t is defined in stddef.h.

Diffstat:
Msrc/libregexp/lib9.std.h | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/libregexp/lib9.std.h b/src/libregexp/lib9.std.h @@ -3,6 +3,7 @@ #include <string.h> #include <stdlib.h> #include <unistd.h> +#include <stddef.h> #define exits(x) exit(x && *x ? 1 : 0)