summaryrefslogtreecommitdiff
blob: ef01a6e01fc06ebcdad5803b757d2bbd59015426 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Fixes compilation in FreeBSD

http://bugs.gentoo.org/138123

--- man-1.6g/gencat/genlib.c
+++ man-1.6g/gencat/genlib.c
@@ -54,7 +54,7 @@
 #include <unistd.h>
 #endif
 
-#if !defined(__linux__) && !defined(__CYGWIN__)
+#if !defined(__linux__) && !defined(__CYGWIN__) && !defined(__FreeBSD__)
 #include <memory.h>
 static int bcopy(src, dst, length)
 char *src, *dst;