Discussion:
[vlc-commits] vector: add missing stddef.h include
Alexandre Janniaux
2018-12-09 19:46:14 UTC
Permalink
vlc | branch: master | Alexandre Janniaux <***@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.
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

Loading...