mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-04-21 03:55:05 +00:00
fix build error for macOS.
This commit is contained in:
parent
25aff00935
commit
8731b5f08d
1 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,10 @@
|
|||
// modern glibc will complain without this
|
||||
#define _DEFAULT_SOURCE
|
||||
|
||||
#ifdef __APPLE__
|
||||
#define _DARWIN_C_SOURCE /* for memset_pattern4() */
|
||||
#endif
|
||||
|
||||
#include "command.h"
|
||||
|
||||
#include "config.h"
|
||||
|
|
Loading…
Add table
Reference in a new issue