summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2022-06-21 10:34:14 +0000
committerIngo Schwarze <schwarze@openbsd.org>2022-06-21 10:34:14 +0000
commit493c800fa8395a264299cdac2809950a1e66912d (patch)
treeec3183141f1dfa2f93ebb0a83e572281a59cac2f
parentef97690dfcfd09d21d5daa92be40c8679c8531d3 (diff)
downloadmandoc-493c800fa8395a264299cdac2809950a1e66912d.tar.gz
#include <stddef.h>, needed for NULL; bug reported by op@
-rw-r--r--compat_strsep.c2
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.