[NeoStats-Devel] [Commits] r2722 - trunk/lib/event

[email protected] Sun, 14 Aug 2005 05:20:48 +1000
Newsgroups gmane.comp.neostats.devel
Message-ID <[email protected]>
Author: Mark
Date: Sun Aug 14 03:20:40 2005
New Revision: 2722

Modified:
   trunk/lib/event/buffer.c
   trunk/lib/event/evbuffer.c
Log:
fix win32 libevent build - does it even work if it will not build?

Modified: trunk/lib/event/buffer.c
==============================================================================
--- trunk/lib/event/buffer.c	(original)
+++ trunk/lib/event/buffer.c	Sun Aug 14 03:20:40 2005
@@ -55,6 +55,9 @@
 #include <unistd.h>
 #endif
 
+#ifdef WIN32
+#include <winsock2.h>
+#endif
 #include "event.h"
 
 struct evbuffer *

Modified: trunk/lib/event/evbuffer.c
==============================================================================
--- trunk/lib/event/evbuffer.c	(original)
+++ trunk/lib/event/evbuffer.c	Sun Aug 14 03:20:40 2005
@@ -43,6 +43,9 @@
 #include <stdarg.h>
 #endif
 
+#ifdef WIN32
+#include <winsock2.h>
+#endif
 #include "event.h"
 
 /* prototypes */