mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09: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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user