[Unit-tests] Fix mac build

* [core] fix build err on Mac
* [mod_av] fix build on macOS
This commit is contained in:
Seven Du
2021-10-24 20:36:52 +08:00
committed by GitHub
parent 712f05578b
commit 408480bae0
2 changed files with 5 additions and 1 deletions

View File

@@ -2,6 +2,10 @@
#include <switch.h>
#include <test/switch_test.h>
#ifndef MSG_CONFIRM
#define MSG_CONFIRM 0
#endif
static const char *rx_host = "127.0.0.1";
static switch_port_t rx_port = 1234;
static const char *tx_host = "127.0.0.1";