Browse Source

Include cstddef in the header for C++

So C++ compiler always has access to the definition of size_t.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
pull/22/head
Oleksandr Kravchuk 3 years ago
committed by Stefano Babic
parent
commit
10c9a571f1
  1. 2
      src/libuboot.h

2
src/libuboot.h

@ -6,6 +6,8 @@
*/
#ifdef __cplusplus
#include <cstddef>
extern "C" {
#endif

Loading…
Cancel
Save