diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2022-06-21 10:34:14 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2022-06-21 10:34:14 +0000 |
commit | 493c800fa8395a264299cdac2809950a1e66912d (patch) | |
tree | ec3183141f1dfa2f93ebb0a83e572281a59cac2f | |
parent | ef97690dfcfd09d21d5daa92be40c8679c8531d3 (diff) | |
download | mandoc-493c800fa8395a264299cdac2809950a1e66912d.tar.gz |
#include <stddef.h>, needed for NULL; bug reported by op@
-rw-r--r-- | compat_strsep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compat_strsep.c b/compat_strsep.c index facb74c2..9ba51cb8 100644 --- a/compat_strsep.c +++ b/compat_strsep.c @@ -31,6 +31,8 @@ */ #include "config.h" +#include <stddef.h> + /* * Get next token from string *stringp, where tokens are possibly-empty * strings separated by characters from delim. |