Provide strdup() compat

Make strdup() available on all platforms.
This commit is contained in:
Romain Vimont
2021-01-17 14:11:59 +01:00
parent ace438e52a
commit c0dde0fade
3 changed files with 30 additions and 0 deletions

View File

@@ -56,4 +56,8 @@
# define SCRCPY_SDL_HAS_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR
#endif
#ifndef HAVE_STRDUP
char *strdup(const char *s);
#endif
#endif