]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
lookip: Explicitly include string.h for strcpy()
authorTobias Brunner <tobias@strongswan.org>
Mon, 3 Oct 2022 11:54:03 +0000 (13:54 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 3 Oct 2022 15:36:17 +0000 (17:36 +0200)
src/libcharon/plugins/lookip/lookip.c

index 67a19300f59650e611cd5178a36bc9d25389edfb..b42004abdde99ef2bfd4a2124d62d3fa8b14a07c 100644 (file)
@@ -22,6 +22,7 @@
 #include <stddef.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <errno.h>
 #include <getopt.h>
 #include <arpa/inet.h>