mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14:50:15 +03:00
socket-util.h: include string.h
Fix the following compile error: src/basic/socket-util.h:187:30: error: implicit declaration of function 'strnlen'; did you mean 'strlen'? [-Werror=implicit-function-declaration]
This commit is contained in:
parent
010f917cf2
commit
56fb30d93e
@ -9,6 +9,7 @@
|
||||
#include <netinet/in.h>
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/un.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user