]> git.cameronkatri.com Git - mandoc.git/commitdiff
#include <stddef.h>, needed for NULL; bug reported by op@
authorIngo Schwarze <schwarze@openbsd.org>
Tue, 21 Jun 2022 10:34:14 +0000 (10:34 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Tue, 21 Jun 2022 10:34:14 +0000 (10:34 +0000)
compat_strsep.c

index 9765ac823eebfcf4883a9e47e2357604a6d51cc5..29865ba4a4680beadabe46139b6554e1704dc088 100644 (file)
@@ -1,4 +1,4 @@
-/*     $Id: compat_strsep.c,v 1.5 2020/06/15 01:37:15 schwarze Exp $   */
+/*     $Id: compat_strsep.c,v 1.6 2022/06/21 10:34:14 schwarze Exp $   */
 /*     $OpenBSD: strsep.c,v 1.8 2015/08/31 02:53:57 guenther Exp $     */
 
 /*-
@@ -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.