[vlc-commits] vector: add missing stddef.h include

Alexandre Janniaux git at videolan.org
Sun Dec 9 20:46:14 CET 2018


vlc | branch: master | Alexandre Janniaux <alexandre.janniaux at gmail.com> | Sun Dec  9 15:50:30 2018 +0100| [70be0ee48ddc11456f618b4e9423540732c094d9] | committer: Rémi Denis-Courmont

vector: add missing stddef.h include

Include stddef.h to define size_t, as it is used later in the header.

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=70be0ee48ddc11456f618b4e9423540732c094d9
---

 include/vlc_vector.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/vlc_vector.h b/include/vlc_vector.h
index ccb580f893..76fc2822fd 100644
--- a/include/vlc_vector.h
+++ b/include/vlc_vector.h
@@ -21,6 +21,7 @@
 #define VLC_VECTOR_H
 
 #include <stdbool.h>
+#include <stddef.h>
 
 /**
  * \defgroup vector Vector



More information about the vlc-commits mailing list