From 50771a6b48052f9b555c33a80f49ff9e7e926121 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 25 Oct 2006 01:25:17 +0000 Subject: r9380@Kushana: nickm | 2006-10-24 21:25:07 -0400 Add string.h include to compat.h so that strlcpy() and strlcat() will always be defined after including compat.h. This should resolve warnings on centos. svn:r8824 --- src/common/compat.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/common') diff --git a/src/common/compat.h b/src/common/compat.h index 79825fc05..536fd052c 100644 --- a/src/common/compat.h +++ b/src/common/compat.h @@ -29,6 +29,9 @@ #ifdef HAVE_TIME_H #include #endif +#ifdef HAVE_STRING_H +#include +#endif #include #ifndef NULL_REP_IS_ZERO_BYTES -- cgit v1.2.3