Commit Diff
- Commit:
de3b6d5848d5361490ed049154985d01dd5068f9
- From:
- David du Colombier <0intro@gmail.com>
- Date:
- Message:
- 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.
- Actions:
- Patch | Tree
--- src/libregexp/lib9.std.h +++ 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)