summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libudev/log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libudev/log.c b/src/libudev/log.c
index 1c1e538618..0fed5a0961 100644
--- a/src/libudev/log.c
+++ b/src/libudev/log.c
@@ -27,6 +27,7 @@
#include <sys/socket.h>
#include <sys/un.h>
#include <stddef.h>
+#include <string.h>
#include "log.h"
#include "util.h"