From 4e1ec3e05e39699025e087929b84f3634929ae4c Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 7 Nov 2007 21:01:26 +0000 Subject: Make all the C files in the libraries compile under MSVC 2005 Express. There are still a few warnings, and probably some subtle issues, but it's better than nothing. svn:r499 --- event_tagging.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'event_tagging.c') diff --git a/event_tagging.c b/event_tagging.c index 93ded7e5..1646fb10 100644 --- a/event_tagging.c +++ b/event_tagging.c @@ -25,15 +25,20 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include -#include - #ifdef HAVE_CONFIG_H #include "config.h" #endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_PARAM_H +#include +#endif + #ifdef WIN32 #define WIN32_LEAN_AND_MEAN +#include #include #undef WIN32_LEAN_AND_MEAN #else @@ -52,7 +57,9 @@ #ifndef WIN32 #include #endif +#ifdef HAVE_UNISTD_H #include +#endif #include "event.h" #include "log.h" -- cgit v1.2.1