Skip to content

Commit

Permalink
Merge pull request #92 from mitchellhansen-pedantek/macos-support
Browse files Browse the repository at this point in the history
build: Header paths differ on MacOS Sonoma
  • Loading branch information
sepfy authored Aug 19, 2024
2 parents a2845b3 + 55d5c04 commit 4a92fcf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/rtcp.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
#define RTCP_H_

#include <stdint.h>
#ifdef __APPLE__
#include <machine/endian.h>
#else
#include <endian.h>
#endif


typedef enum RtcpType {

Expand Down
5 changes: 5 additions & 0 deletions src/rtp.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
#define RTP_H_

#include <stdint.h>
#ifdef __APPLE__
#include <machine/endian.h>
#else
#include <endian.h>
#endif


#include "peer_connection.h"
#include "config.h"
Expand Down

0 comments on commit 4a92fcf

Please sign in to comment.