diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-10-25 01:25:17 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-10-25 01:25:17 +0000 |
commit | 50771a6b48052f9b555c33a80f49ff9e7e926121 (patch) | |
tree | c09c1433bfbcb1722becfd0d81db9c30afc8a4aa /src/common/compat.h | |
parent | 834d935e6e276f223f090f0ca567a97c1b4d7b56 (diff) | |
download | tor-50771a6b48052f9b555c33a80f49ff9e7e926121.tar.gz tor-50771a6b48052f9b555c33a80f49ff9e7e926121.zip |
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
Diffstat (limited to 'src/common/compat.h')
-rw-r--r-- | src/common/compat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/compat.h b/src/common/compat.h index 79825fc057..536fd052c6 100644 --- a/src/common/compat.h +++ b/src/common/compat.h @@ -29,6 +29,9 @@ #ifdef HAVE_TIME_H #include <time.h> #endif +#ifdef HAVE_STRING_H +#include <string.h> +#endif #include <stdarg.h> #ifndef NULL_REP_IS_ZERO_BYTES |