summaryrefslogtreecommitdiff
blob: fd14963b50e25b209cca5a9a6abb2b258176618f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
https://bugs.gentoo.org/920775
https://bugs.gentoo.org/927333
https://sourceforge.net/p/poptop/bugs/54/
--- a/compat.c
+++ b/compat.c
@@ -10,9 +10,9 @@
 
 #include "compat.h"
 #include "our_syslog.h"
+#include <string.h>
 
 #ifndef HAVE_STRLCPY
-#include <string.h>
 #include <stdio.h>
 
 void strlcpy(char *dst, const char *src, size_t size)