mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
Fix compile error on Linux platform and use c++ style header file(<cstddef> instead of <stddef.h>)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "byte_buffer.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <cstring>
|
||||
|
||||
ByteBufferReader::ByteBufferReader(const char* bytes, size_t len) {
|
||||
Construct(bytes, len);
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
#ifndef _BYTE_BUFFER_H_
|
||||
#define _BYTE_BUFFER_H_
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
class ByteBufferReader {
|
||||
public:
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
#ifndef _OBU_H_
|
||||
#define _OBU_H_
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
#include "aom/aom_codec.h"
|
||||
|
||||
|
||||
@@ -7,9 +7,8 @@
|
||||
#ifndef _OBU_PARSER_H_
|
||||
#define _OBU_PARSER_H_
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <vector>
|
||||
|
||||
#include "obu.h"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#ifndef _RTP_CODEC_H_
|
||||
#define _RTP_CODEC_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <vector>
|
||||
|
||||
#include "fec_encoder.h"
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
#ifndef _RTP_PACKET_H_
|
||||
#define _RTP_PACKET_H_
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <cstring>
|
||||
#include <vector>
|
||||
|
||||
#include "log.h"
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#ifndef _RTP_TRANSCEIVER_H_
|
||||
#define _RTP_TRANSCEIVER_H_
|
||||
|
||||
#include <cstddef>
|
||||
#include <functional>
|
||||
|
||||
class RtpTransceiver {
|
||||
|
||||
Reference in New Issue
Block a user