unix: fix implicit declaration compiler warning
Include <string.h> explicitly to get the definition of strncpy(). Refs https://github.com/libuv/libuv/issues/138. PR-URL: https://github.com/libuv/libuv/pull/150 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
This commit is contained in:
parent
737cd1fb4f
commit
955b1806c7
@ -21,6 +21,7 @@
|
||||
#include <dlfcn.h>
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <TargetConditionals.h>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user