Fix compile error on Linux platform and use c++ style header file(<cstddef> instead of <stddef.h>)

This commit is contained in:
dijunkun
2024-05-23 15:04:18 +08:00
parent 5decc4b007
commit 3fc8f9f616
21 changed files with 40 additions and 37 deletions
+2 -2
View File
@@ -7,8 +7,8 @@
#ifndef _FEC_DECODER_H_
#define _FEC_DECODER_H_
#include <stddef.h>
#include <stdint.h>
#include <cstddef>
#include <cstdint>
#ifdef __cplusplus
extern "C" {
+2 -2
View File
@@ -7,8 +7,8 @@
#ifndef _FEC_ENCODER_H_
#define _FEC_ENCODER_H_
#include <stddef.h>
#include <stdint.h>
#include <cstddef>
#include <cstdint>
#ifdef __cplusplus
extern "C" {