aboutsummaryrefslogtreecommitdiff
path: root/src/libregexp
diff options
context:
space:
mode:
authorDavid du Colombier <0intro@gmail.com>2018-09-29 15:59:31 +0200
committerDavid du Colombier <0intro@gmail.com>2018-09-29 15:59:31 +0200
commitde3b6d5848d5361490ed049154985d01dd5068f9 (patch)
treea460019de39c4cf870f3c0a53461bb66d9e1c2b1 /src/libregexp
parenta82a8b6368274d77d42f526e379b74e79c137e26 (diff)
downloadplan9port-de3b6d5848d5361490ed049154985d01dd5068f9.tar.gz
plan9port-de3b6d5848d5361490ed049154985d01dd5068f9.tar.bz2
plan9port-de3b6d5848d5361490ed049154985d01dd5068f9.zip
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 (limited to 'src/libregexp')
-rw-r--r--src/libregexp/lib9.std.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libregexp/lib9.std.h b/src/libregexp/lib9.std.h
index 0cefdde7..1d7aaa62 100644
--- 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)