argpar.h: include stddef.h
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 5 Sep 2024 18:43:59 +0000 (14:43 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 5 Sep 2024 19:22:14 +0000 (15:22 -0400)
Users of the macro `ARGPAR_OPT_DESCR_SENTINEL` need to see a definition
for `NULL`.  Include stddef.h to make sure it happens.

Change-Id: I859bbd89dc728d0b29d0044fcd65cf662c9dbc20
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
argpar/argpar.h

index d11a764a9ad3410e0399a848d0d937ab30620d90..c77f473aa8de780b6ba46057694437df4e78c9a6 100644 (file)
@@ -8,6 +8,7 @@
 #define ARGPAR_ARGPAR_H
 
 #include <stdbool.h>
+#include <stddef.h>
 
 #if defined(__cplusplus)
 extern "C" {
This page took 0.023765 seconds and 4 git commands to generate.