tlibregexp: include stddef.h in lib9.std.h - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit de3b6d5848d5361490ed049154985d01dd5068f9
 (DIR) parent a82a8b6368274d77d42f526e379b74e79c137e26
 (HTM) 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:
         M src/libregexp/lib9.std.h            |       1 +
       
       1 file changed, 1 insertion(+), 0 deletions(-)
       ---
 (DIR) diff --git a/src/libregexp/lib9.std.h b/src/libregexp/lib9.std.h
       t@@ -3,6 +3,7 @@
        #include <string.h>
        #include <stdlib.h>
        #include <unistd.h>
       +#include <stddef.h>
        
        #define        exits(x)        exit(x && *x ? 1 : 0)