Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include <string.h> in shmem.c for strncpy()
Fixes the below error: > clang-17: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument] > shmem.c:130:2: error: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] > strncpy(name_buffer, name, sizeof(name_buffer));
- Loading branch information